xorbitsai / xorbits

Scalable Python DS & ML, in an API compatible & lightning fast way.
https://xorbits.readthedocs.io
Apache License 2.0
1.12k stars 67 forks source link

FEAT: Support for DatetimeIndex in pandas #335

Open fedemarche opened 1 year ago

fedemarche commented 1 year ago

I have tried to use xorbits inside a current project of mine but it has no support for Datetime index. Is this support already planned for the future ?

qianduoduo0904 commented 1 year ago

Could you paste the code about the unsupported part ? So that we can add support for it.

fedemarche commented 1 year ago

Sure, here it is.

import xorbits.pandas as pd
t = pd.DatetimeIndex(df['DATE'].values)

Raises

File : "../site-packages/xorbits/pandas/__init__.py", line 61
in __getattr__ 
raise AttributeError(name)
AttributeError: DatetimeIndex
qianduoduo0904 commented 1 year ago

Thanks, will support this feature ASAP.