BSD Ports

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

SystemPortVersion
DragonFlymath/py-narwhals1.30.0
FreeBSDmath/py-narwhals2.26.0
NetBSDmisc/py-narwhals2.25.0
MidnightBSDmath/py-narwhals2.21.0
HardenedBSDmath/py-narwhals2.26.0
GhostBSDmath/py-narwhals2.26.0

Install

Binary package:

pkg install py311-narwhals

From DPorts:

cd /usr/dports/math/py-narwhals && make install clean

Dependencies

Run dependencies 1
Required by 1