Skip to content

Commit

Permalink
fixed error 116. (ResidentMario#117)
Browse files Browse the repository at this point in the history
Co-authored-by: armando-fandango <“armando@neurasights.com@users.noreply.github.com”>
  • Loading branch information
armando-fandango and armando-fandango authored Jul 26, 2020
1 parent d575515 commit d523c82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions missingno/missingno.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@ def matrix(df,
t.strftime('%Y-%m-%d'))

elif type(df.index) == pd.DatetimeIndex:
ts_array = pd.date_range(df.index.date[0], df.index.date[-1],
ts_array = pd.date_range(df.index[0], df.index[-1],
freq=freq).values

ts_ticks = pd.date_range(df.index.date[0], df.index.date[-1],
ts_ticks = pd.date_range(df.index[0], df.index[-1],
freq=freq).map(lambda t:
t.strftime('%Y-%m-%d'))
else:
Expand Down

0 comments on commit d523c82

Please sign in to comment.