ValueError: cannot set a Timestamp with a non-timestamp #17995
Labels
Datetime
Datetime data dtype
Duplicate Report
Duplicate issue or pull request
Indexing
Related to indexing on series/frames, not to indexes themselves
Code Sample, a copy-pastable example if possible
Error returned
Problem description
I just upgraded to pandas version '0.21.0rc1'. The
df_sub
line above used to work in a prior version. Should aTimestamp
and adatetime.date
be comparable like it used to in a previous version? Not a huge issue for me but my intent is to just report it in-case it requires attention.Expected Output
Helpful Links
May be a similar or related issue: #17965
convert_scalar
location: https://github.com/pandas-dev/pandas/blob/master/pandas/_libs/index.pyx#L494Output of
pd.show_versions()
[paste the output of
pd.show_versions()
here below this line]INSTALLED VERSIONS
commit: None
python: 3.5.2.final.0
python-bits: 64
OS: Windows
OS-release: 7
machine: AMD64
processor: Intel64 Family 6 Model 42 Stepping 7, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None
LOCALE: English_United States.1252
pandas: 0.21.0rc1
pytest: None
pip: 9.0.1
setuptools: 20.10.1
Cython: 0.25.2
numpy: 1.13.3
scipy: 0.19.1
pyarrow: None
xarray: None
IPython: 5.2.2
sphinx: None
patsy: 0.4.1
dateutil: 2.6.1
pytz: 2017.2
blosc: None
bottleneck: None
tables: 3.3.0
numexpr: 2.6.2
feather: None
matplotlib: 2.0.0rc2
openpyxl: None
xlrd: 1.0.0
xlwt: None
xlsxwriter: 0.9.6
lxml: None
bs4: 4.5.3
html5lib: 0.9999999
sqlalchemy: 1.1.11
pymysql: None
psycopg2: None
jinja2: 2.9.5
s3fs: None
fastparquet: None
pandas_gbq: None
pandas_datareader: None
The text was updated successfully, but these errors were encountered: