Skip to content

incompatible with latest pandas #621

Description

@nateGeorge

When importing this using pandas 0.24 versions, this error occurs:

---> 26 import odo
     27 import pytz
     28 from tqdm import tqdm

~/anaconda3/lib/python3.6/site-packages/odo/__init__.py in <module>
     27     from .backends.sas import sas7bdat
     28 with ignoring(ImportError):
---> 29     from .backends.pandas import pd
     30 with ignoring(ImportError):
     31     from .backends.bcolz import bcolz

~/anaconda3/lib/python3.6/site-packages/odo/backends/pandas.py in <module>
    100 
    101 
--> 102 @convert.register((pd.Timestamp, pd.Timedelta), (pd.tslib.NaTType, type(None)))
    103 def convert_null_or_nat_to_nat(n, **kwargs):
    104     return pd.NaT

AttributeError: module 'pandas' has no attribute 'tslib'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions