You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm wondering if there is supposed to be support for timestamp objects that have a timezone attached?
For example, something simple like:
import pandas as pd
data = {
'labels': ['test', 'test2'],
'dates': [
pd.Timestamp('2021-08-11T03:00:00', tz='UTC'),
pd.Timestamp('2021-08-11T15:00:00', tz='UTC')
]
}
test = pd.DataFrame.from_dict(data)
test.to_parquet('test.parquet')
test_open = vaex.open('test.parquet')
When I read the parquet with vaex (v4.3.0) while it opens it fails on trying to interact with the dates column, or a even a .info() with
TypeError: Cannot interpret 'datetime64[ns, UTC]' as a data type
I've used parquet here but arrow I experience the same.
I know there have been quite a few issues opened over vaex and handing time columns but I couldn't quite find one addressing timezones - only this one from quite a while ago now (#565).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm wondering if there is supposed to be support for timestamp objects that have a timezone attached?
For example, something simple like:
When I read the parquet with vaex (v4.3.0) while it opens it fails on trying to interact with the
dates
column, or a even a .info() withI've used parquet here but arrow I experience the same.
I know there have been quite a few issues opened over vaex and handing time columns but I couldn't quite find one addressing timezones - only this one from quite a while ago now (#565).
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions