Arktos
Arktos (ancient Greek word for Bear) is a utility designed to facilitate the transition from Pandas to Polars, allowing users to leverage Polars' performance benefits with a familiar Pandas-like interface.
Installation
To install Arktos, simply run:
pip install Arktos
Quick Start
Here's a quick example to get you started with Arktos:
import Arktos as pp
Example Usage
Beyond simple file reading, Arktos simplifies more complex data manipulations. Here's an example of grouping data and calculating summary statistics:
import arktos as pp
# Assuming 'data.csv' has columns 'category' and 'value'
df = pp.read_csv('data.csv')
# Group by 'category' and calculate the mean of 'value' for each group
grouped_df = df.groupby('category').agg({'value': 'mean'})
print(grouped_df)
In this example, Arktos mimics the pandas groupby and aggregation method to calculate the mean of values within each category. It's a powerful feature for those coming from a pandas background looking to utilize the speed of Polars.
Features
- Easy transition from Pandas to Polars
- High-performance data manipulation
- Familiar syntax for Pandas users
Contributing
We welcome contributions! If you would like to help improve Arktos, please feel free to fork the repository, make your changes, and submit a pull request.
License
Arktos is licensed under the MIT License. See the LICENSE file for more details.
Release files for arktos 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| arktos-0.0.3.tar.gz | 2.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| arktos-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.8 kB
Release files / arktos-0.0.3.tar.gz
| Download URL | arktos-0.0.3.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3fb0def096343ad45c609291159c82ff69252a590aa58acbc9f87ce3bbb834bf
|
|
BLAKE2b-256 checksum How to use checksums |
4bcd489f9424dbe78711b6ed923aff5c1c3bc65713b5177393de77929cb88409
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.2
|
Release files / arktos-0.0.3-py3-none-any.whl
| Download URL | arktos-0.0.3-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d5eed885600933767491efb9202af610cb7878eebf2af6fefe69cc328f3ab483
|
|
BLAKE2b-256 checksum How to use checksums |
f1daea33017d473cdd595cb1d36e4e250bd61f972d09a4ff1d66e89bad1503d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.2
|