We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
>>> None in pd.to_timedelta(range(5), unit='d') + pd.offsets.Hour(1) True
Returns True for any one of [pd.NaT, None, float('nan'), np.nan]
True
[pd.NaT, None, float('nan'), np.nan]
>>> None in pd.to_timedelta(range(5), unit='d') + pd.offsets.Hour(1) False
pd.show_versions()
>>> pd.show_versions() INSTALLED VERSIONS ------------------ commit: 3c202b1cbcc73c4006c967c8abe1b8d9089c5be4 python: 2.7.11.final.0 python-bits: 64 OS: Windows OS-release: 10 machine: AMD64 processor: Intel64 Family 6 Model 58 Stepping 9, GenuineIntel byteorder: little LC_ALL: None LANG: None LOCALE: None.None pandas: 0.18.1+171.g3c202b1 nose: 1.3.7 pip: 8.1.2 setuptools: 23.0.0 Cython: 0.24 numpy: 1.10.4 scipy: 0.17.1 statsmodels: None xarray: 0.7.2 IPython: None sphinx: None patsy: None dateutil: 2.5.3 pytz: 2016.4 blosc: None bottleneck: 1.0.0 tables: 3.2.2 numexpr: 2.5.2 matplotlib: 1.5.1 openpyxl: 2.3.2 xlrd: None xlwt: None xlsxwriter: None lxml: None bs4: None html5lib: None httplib2: None apiclient: None sqlalchemy: 1.0.13 pymysql: None psycopg2: None jinja2: 2.8 boto: 2.40.0 pandas_datareader: None
The text was updated successfully, but these errors were encountered:
BUG: Cast a key to NaT before get loc from Index
0960395
pd.NaT, None, float('nan') and np.nan are converted NaT in TestTimedeltas. So we should convert keys if keys are these value. Fix pandas-dev#13603
9f635cd
Successfully merging a pull request may close this issue.
Code Sample, a copy-pastable example if possible
Returns
True
for any one of[pd.NaT, None, float('nan'), np.nan]
Expected Output
output of
pd.show_versions()
The text was updated successfully, but these errors were encountered: