FutureWarning when sorting tz-aware datetimeindex #25439
Labels
Algos
Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff
Datetime
Datetime data dtype
ExtensionArray
Extending pandas with custom dtypes or arrays.
Milestone
Problem
As reported here, sorting a tz-aware DatetimeIndex issues warning:
MCVE here:
Stack
The stack (Pandas 0.24.1) is:
Output of
pd.show_versions()
pandas: 0.24.1
pytest: None
pip: 19.0.2
setuptools: 40.7.2
Cython: 0.28.4
numpy: 1.16.1
scipy: None
pyarrow: None
xarray: None
IPython: 7.2.0
sphinx: None
patsy: None
dateutil: 2.8.0
pytz: 2018.9
blosc: None
bottleneck: None
tables: None
numexpr: None
feather: None
matplotlib: 3.0.2
openpyxl: 2.6.0
xlrd: 1.2.0
xlwt: None
xlsxwriter: None
lxml.etree: 4.2.5
bs4: 4.6.3
html5lib: 1.0.1
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: 2.10
s3fs: None
fastparquet: None
pandas_gbq: None
pandas_datareader: None
gcsfs: None
The text was updated successfully, but these errors were encountered: