Skip to content

Commit

Permalink
Resolved Arturus#36 from the original repo
Browse files Browse the repository at this point in the history
For more details visit, Arturus#36
  • Loading branch information
amankhandelia authored Jan 7, 2020
1 parent fc5ee83 commit a3f0af9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion make_features.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def read_all() -> pd.DataFrame:
"""
def read_file(file):
df = read_cached(file).set_index('Page')
df.columns = df.columns.astype('M8[D]')
df.columns = pd.to_datetime(df.columns).floor('D')
return df

# Path to cached data
Expand Down

0 comments on commit a3f0af9

Please sign in to comment.