math/py-narwhals 1.30.0 DragonFly
Extremely lightweight compatibility layer between dataframe libraries
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- MIT
- Categories
- math, python
- Package size
- 507.5 KiB, 5533.0 KiB installed
Description
Narwhals is an extremely lightweight and extensible compatibility layer between dataframe libraries!
- Full API support: cuDF, Modin, pandas, Polars, PyArrow
- Interchange-level support: Ibis, Vaex, anything else which implements the DataFrame Interchange Protocol
Seamlessly support all, without depending on any!
- Just use a subset of the Polars API, no need to learn anything new
- Zero dependencies, Narwhals only uses what the user passes in so your library can stay lightweight
- Separate lazy and eager APIs, use expressions
- Support pandas' complicated type system and index, without either getting in the way
- 100%25 branch coverage, tested against pandas and Polars nightly builds
- Negligible overhead, see overhead
- Let your IDE help you thanks to full static typing, see typing
- Perfect backwards compatibility policy, see stable api for how to opt-in
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | math/py-narwhals | 1.30.0 |
| FreeBSD | math/py-narwhals | 2.26.0 |
| NetBSD | misc/py-narwhals | 2.25.0 |
| MidnightBSD | math/py-narwhals | 2.21.0 |
| HardenedBSD | math/py-narwhals | 2.26.0 |
| GhostBSD | math/py-narwhals | 2.26.0 |
Install
Binary package:
pkg install py311-narwhals
From DPorts:
cd /usr/dports/math/py-narwhals && make install clean