dataframe operations
Project description
FRAMES
Getting testing datasets made easy. Built on top of polars.
Installation
to get started, install the library with:
pip install framex
Usage
import framex as fx
Loading datasets
iris = fx.load("iris")
which returns a polars DataFrame
iris = fx.load("iris", lazy=True)
which returns a polars LazyFrame
Both these operations create local copies of the datasets
as by default cahce=True
.
Available datasets
To see the list of available datasets, run:
fx.available()
{'remote': ['iris', 'mpg', 'netflix', 'starbucks', 'titanic'], 'local': ['titanic']}
which returns a dictionary of both locally and remotely available datasets.
To see only local or remote datasets, run:
fx.available("local")
fx.available("remote")
{'local': ['titanic']}
{'remote': ['iris', 'mpg', 'netflix', 'starbucks', 'titanic']}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
framex-0.1.1.tar.gz
(4.6 kB
view hashes)
Built Distribution
framex-0.1.1-py3-none-any.whl
(5.5 kB
view hashes)