Skip to content

Commit

Permalink
Corrijo calculos de index_start e index_end
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaslavandeira committed Sep 7, 2018
1 parent e3ae3c8 commit eebe507
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions series_tiempo_ar_api/libs/indexing/indexer/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ def update_enhanced_meta(serie: pd.Series, catalog_id: str, distribution_id: str

# Cálculos
meta = {
meta_keys.INDEX_START: serie.index.min().date(),
meta_keys.INDEX_END: serie.index.max().date(),
meta_keys.INDEX_START: serie.first_valid_index().date(),
meta_keys.INDEX_END: serie.last_valid_index().date(),
meta_keys.PERIODICITY: meta_keys.get(field.distribution, meta_keys.PERIODICITY),
meta_keys.INDEX_SIZE: _get_index_size(serie),
meta_keys.DAYS_SINCE_LAST_UPDATE: days_since_update,
Expand Down

0 comments on commit eebe507

Please sign in to comment.