A simple tool to get time series from spreadsheets
Project description
Cronus Eater: A simple tool to get time series from spreadsheets
Extract and normalize time series from any spreadsheet with differents patterns.
Where is the data I want?
import pandas as pd
raw_dataframe = pd.read_excel('historical_series_3Q22.xlsx')
raw_dataframe.head()
0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | |
---|---|---|---|---|---|---|---|---|---|---|
0 | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN |
1 | NaN | Holdings Ltd. | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN |
2 | NaN | NaN | NaN | NaN | 3Q22 | 2Q22 | NaN | 1Q22 | 2022 | NaN |
3 | NaN | Amounts in thousands of R$ | NaN | NaN | R$ | R$ | NaN | R$ | R$ | NaN |
4 | NaN | Cash Flow | NaN | NaN | $500.23 | $302.81 | $255.11 | $106.12 | $900.00 | NaN |
Let's devours this times series
import cronus_eater
times_series_df = cronus_eater.extract(raw_dataframe)
times_series_df.head()
Numeric Index | Label Index | Table Order | Time | Value | |
---|---|---|---|---|---|
0 | 4 | Cash Flow | 1 | 4Q22 | 302.81 |
1 | 4 | Cash Flow | 1 | 2Q22 | 255.11 |
2 | 4 | Cash Flow | 1 | 1Q22 | 106.12 |
3 | 4 | Cash Flow | 1 | 2017 | 900.00 |
Where to get it
The source code is currently hosted on GitHub at: https://github.com/breno-jesus-fernandes/cronus-eater
Binary installers for the latest released version is going to available at the Python Package Index (PyPI).
pip install cronus-eater
# or through poetry
poetry add cronus-eater
License
Contributing to Cronus Eater
All contributions, bug reports, bug fixes, documentation improvements, enhancements, and ideas are welcome. See https://github.com/breno-jesus-fernandes/cronus-eater/tree/main/docs for instructions.
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 cronus_eater-0.1.0a3.tar.gz
.
File metadata
- Download URL: cronus_eater-0.1.0a3.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.11.1 Linux/6.1.11-201.fsync.fc37.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | df02434311d8ba8413ed38d5a60848d6e2015d6eabadbfe423834ce09ef4f3bb |
|
MD5 | fc3df3c031b081da19046adc91fab250 |
|
BLAKE2b-256 | f055bc16f57bd9b0488c17b01440a5438013ab513690f50a1a1cd8b3cf0a1e55 |
File details
Details for the file cronus_eater-0.1.0a3-py3-none-any.whl
.
File metadata
- Download URL: cronus_eater-0.1.0a3-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.11.1 Linux/6.1.11-201.fsync.fc37.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e100e84bfb3e168fa38e590ee50b19173bf45ba54bcf0f54507862cb2de45ad |
|
MD5 | 67fc838efb356b49afbfff2d8b1eef03 |
|
BLAKE2b-256 | b833d1dcbab2d26dc5834248a93b29050ef8c281b4990810e5f24f6d45d5bdb4 |