Skip to content

Commit

Permalink
Correct DatetimeIndex call.
Browse files Browse the repository at this point in the history
  • Loading branch information
ResidentMario committed Nov 26, 2017
1 parent 92e658d commit e2cc2a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions missingno/missingno.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import pandas as pd
from mpl_toolkits.axes_grid1 import make_axes_locatable

__version__ = "0.3.5"
__version__ = "0.3.8"


def _ascending_sort(df):
Expand Down Expand Up @@ -211,7 +211,7 @@ def matrix(df,
freq=freq).map(lambda t:
t.strftime('%Y-%m-%d'))

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

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
packages = ['missingno'], # this must be the same as the name above
install_requires=['numpy', 'matplotlib', 'scipy', 'seaborn'],
py_modules=['missingno'],
version = '0.3.7', # note to self: also update the one is the source!
version = '0.3.8', # note to self: also update the one is the source!
description = 'Missing data visualization module for Python.',
author = 'Aleksey Bilogur',
author_email = 'aleksey.bilogur@gmail.com',
url = 'https://github.com/ResidentMario/missingno',
download_url = 'https://github.com/ResidentMario/missingno/tarball/0.3.7',
download_url = 'https://github.com/ResidentMario/missingno/tarball/0.3.8',
keywords = ['data', 'data visualization', 'data analysis', 'missing data', 'data science', 'pandas', 'python',
'jupyter'],
classifiers = [],
Expand Down

0 comments on commit e2cc2a0

Please sign in to comment.