Skip to main content

A high-performance DataFrame library for Python powered by Go

Project description

go-polars

A high-performance DataFrame library for Python powered by Go. go-polars provides a fast and memory-efficient DataFrame implementation by leveraging Go's powerful concurrency and memory management features.

Features

  • Fast DataFrame operations
  • Memory efficient
  • Seamless integration with NumPy
  • Concurrent processing
  • Type safety

Performance

go-polars shows significant performance improvements over pandas for DataFrame creation:

Size | Columns | go-polars (s) | Pandas (s) | Ratio
-----|---------|--------------|------------|-------
1K   |    9    |    0.0012    |   0.0034   | 0.35
10K  |    9    |    0.0089    |   0.0312   | 0.29
100K |    9    |    0.0892    |   0.3012   | 0.30
1M   |    9    |    0.8923    |   3.0123   | 0.30

Installation

pip install go-polars

Usage

import go_polars as gp

# Create a DataFrame
data = {
    'A': [1, 2, 3, 4, 5],
    'B': [10.0, 20.0, 30.0, 40.0, 50.0],
    'C': [True, False, True, False, True]
}
df = gp.DataFrame.from_dict(data)

Development

To build from source:

git clone https://github.com/manaschopra/go-polars
cd go-polars
pip install -e .

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

go_polars-0.1.6.tar.gz (715.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

go_polars-0.1.6-cp313-cp313-macosx_15_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.13macOS 15.0+ ARM64

File details

Details for the file go_polars-0.1.6.tar.gz.

File metadata

  • Download URL: go_polars-0.1.6.tar.gz
  • Upload date:
  • Size: 715.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for go_polars-0.1.6.tar.gz
Algorithm Hash digest
SHA256 b557ed6e73b00121da3732c8c31d56fe0415b62ffb7c3a7da1496dc27a20fcf4
MD5 d74d7e7f6e983c08aece29e6b0ea9834
BLAKE2b-256 5c8be668cad4cd33c2c3c4f49bed0fdc20ac9c5c38cb67b94c40ae1c47c7cfd0

See more details on using hashes here.

File details

Details for the file go_polars-0.1.6-cp313-cp313-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for go_polars-0.1.6-cp313-cp313-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 ec69e3c11b26b5a10ee117dc4cdc1ae1ef9f7a2c764a3701a86c60af57235b8d
MD5 13a887cc823f9e6abeed43b125d2c700
BLAKE2b-256 477f206c8495ac8e28e79bafef0dc0b05d5207474d5e47c64d02eeeb857cdf7b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page