Core transformations for BlueETL
Project description
blueetl-core
Core transformations for BlueETL.
Introduction
BlueETL-core automatically registers Pandas accessors using the .etl namespace, that can be useful to simplify some recurring operations on Pandas DataFrames, Series, and Indexes.
It provides the core transformations used by BlueETL, a package that can help analyse multiple simulations in a Simulation Campaign.
Installation
BlueETL-core can be installed independently from BlueETL with:
pip install -U blueetl-core
Examples
To use the Core Transformations provided by the .etl accessor with any Pandas DataFrame or Series, it’s enough to import BlueETL or BlueETL-core, and call the desired methods.
For example:
import blueetl_core
import pandas as pd
df = pd.DataFrame({"a": [0, 1, 2], "b": [3, 4, 5]})
df = df.etl.q(a=1)
See this Jupyter notebook for more information and examples.
Contribution Guidelines
See CONTRIBUTING.rst.
Citation
When you use this software, we kindly ask you to cite the following DOI:
Acknowledgment
The development of this software was supported by funding to the Blue Brain Project, a research center of the École polytechnique fédérale de Lausanne (EPFL), from the Swiss government’s ETH Board of the Swiss Federal Institutes of Technology.
For license and authors, see LICENSE.txt and AUTHORS.txt respectively.
Copyright © 2023 Blue Brain Project/EPFL
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
Built Distribution
Hashes for blueetl_core-0.2.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 687b3c28fbee8980e9df906baac8e8b846e7f2a2e152c0bc933d706dc69192c9 |
|
MD5 | 1918a5337733c37ade2c3009d8a4b266 |
|
BLAKE2b-256 | 480224c00fa89d179e968a35707741f822a6ea981e7751845b9954b171c31bcf |