ranaroussi / pystore

Fast data store for Pandas time-series data
Apache License 2.0
562 stars 101 forks source link

Pandas 0.25 compatibility #19

Closed stnatter closed 5 years ago

stnatter commented 5 years ago

pandas 0.25 deprecation warning fix dtype_str -> type.str

ranaroussi commented 5 years ago

The CI tests fail, and the check for "datetime" in data.index.dtype.str will never be true as the result is <M8[ns]. The best way to go about it is to compare against "datetime" in str(data.index.dtype) (which, suprisingly, is faster 😄).