Our great sponsors
-
frame-fixtures
Use compact expressions to create diverse, deterministic DataFrame fixtures with StaticFrame
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
A NumPy array is a Python object that stores data in a contiguous C-array buffer. The excellent performance of these arrays comes not only from this compact representation, but also from the ability of arrays to share "views" of that buffer among many arrays. NumPy makes frequent use of "no-copy" array operations, producing derived arrays without copying underling data buffers. By taking full advantage of NumPy's efficiency, the StaticFrame DataFrame library offers orders-of-magnitude better performance than Pandas for many common operations.
To compare performance, we will use the FrameFixtures library to create two DataFrames of 10,000 rows by 1,000 columns of heterogeneous types. For both we can convert the StaticFrame Frame into a Pandas DataFrame.
Related posts
- Static-frame: Immutable/statically-typed DataFrames with runtime type validation
- Type-Hinting DataFrames for Static Analysis and Runtime Validation
- Memoizing DataFrame Functions: Using Hashable DataFrames and Message Digests to Optimize Repeated Calculations
- One Fill Value Is Not Enough: Preserving Columnar Types When Reindexing DataFrames
- static-frame: Immutable and grow-only Pandas-like DataFrames with a more explicit and consistent interface.