Commit 3d76ca0e authored by Christophe Benz's avatar Christophe Benz

Remove "indexed_at" from dataframe

parent 1b047e50
......@@ -186,7 +186,7 @@ def fetch_series_by_api_link(api_link, max_nb_series=None,
return pd.DataFrame()
common_columns = ["@frequency", "provider_code", "dataset_code", "dataset_name", "series_code", "series_name",
"indexed_at", "original_period", "period", "original_value", "value"]
"original_period", "period", "original_value", "value"]
normalized_series_list = list(map(normalize_dbnomics_series, series_list))
......@@ -315,7 +315,7 @@ def normalize_dbnomics_series(series):
# Flatten dimensions.
dimensions = series.get("dimensions") or {}
series = {
**without_keys(series, keys={"dimensions"}),
**without_keys(series, keys={"dimensions", "indexed_at"}),
**dimensions,
}
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment