Comments (2)
My guess is that df._mgr.column_arrays
may have changed between pandas 1.4 and 1.5, the former returning a datetime64[ns]
and the latter now returning object.
writers.c iterates over the values returned by that call
1.4 behavior:
>>> import pandas as pd
>>> df = pd.DataFrame({"a": [pd.Timestamp("today", tz="utc")]})
>>> df._mgr.column_arrays
[array(['2023-08-30T13:00:06.259921000'], dtype='datetime64[ns]')]
1.5
>>> import pandas as pd
>>> df = pd.DataFrame({"a": [pd.Timestamp("today", tz="utc")]})
>>> df._mgr.column_arrays
[array([Timestamp('2023-08-30 13:01:26.997941+0000', tz='UTC')],
dtype=object)]
from pantab.
Fixed by #187
from pantab.
Related Issues (20)
- RuntimeError: module compiled against API version 0x10 but this version of numpy is 0xe .
- Use the DataFrame Protocol instead of pandas internals HOT 1
- Remove pandas 1.2 compat code HOT 2
- Unsupported Nullable Data Type VARCHAR(500) when Reading From Hyper HOT 6
- ModuleNotFoundError: No module named 'pantab' with version 3.0.3 HOT 4
- pantab 4.0 checklist HOT 2
- 4.X reader regressions HOT 2
- Segmentation Fault Error with frame_to_hyper Method HOT 4
- Polars Time Conversion Fails HOT 1
- Segfault on writes with pandas 2.2
- Remove Dependency on tableauhyperapi HOT 2
- Free memory after inserting data HOT 8
- Add support for writing INT8 values HOT 1
- RecordBatchReader to_hyper yields Process finished with exit code HOT 1
- `Date32` dates are off when written to hyper file HOT 2
- Use Arrow Name instead of enum value
- Failure to import 4.x HOT 7
- 4.1 release
- Make frames_from_hyper not generate hyperd.log HOT 1
- Old version installed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pantab.