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
File details
Details for the file blueetl_core-0.2.4.tar.gz
.
File metadata
- Download URL: blueetl_core-0.2.4.tar.gz
- Upload date:
- Size: 212.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 376918785b6ef588b4ca096673547329a06f461750c88f785aec91b1ecca9254 |
|
MD5 | 22d3881181ecd0d8a4f170667653a4f1 |
|
BLAKE2b-256 | b9b8b63dcd55b9a1903b07a99277c0e923c7bea7414995a8863fc557e26c223b |
File details
Details for the file blueetl_core-0.2.4-py3-none-any.whl
.
File metadata
- Download URL: blueetl_core-0.2.4-py3-none-any.whl
- Upload date:
- Size: 22.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 687b3c28fbee8980e9df906baac8e8b846e7f2a2e152c0bc933d706dc69192c9 |
|
MD5 | 1918a5337733c37ade2c3009d8a4b266 |
|
BLAKE2b-256 | 480224c00fa89d179e968a35707741f822a6ea981e7751845b9954b171c31bcf |