A small, simple and sturdy library to overview our PandasDataframe
Project description
infolib
|| Python >=3.7 ||
simple and complete PandasDataframe's stat overview
Installation
Only through pip at this time https://test.pypi.org/project/infolib/
pip install -i https://test.pypi.org/simple/ infolib
from infolib.infolib import inf
How to use
Using infolib is very simple:
inf(pd.DataFarame)
inf() takes 1 positional argument and expects pandas DataFrame object
Exemple
series that will be part of the dataframe
s = pd.Series(pd.date_range("2012-1-1", periods=3, freq="D"))
td = pd.Series([pd.Timedelta(days=i) for i in range(3)])
i = [1,2,3]
f = [0.123,423.231,0.002]
c = ['A', 'B', 'C']
cn = [1, 2, 3]
b = [False, True, False]
n = [np.nan, np.nan, np.nan]''
import as pandas.Dtaframe
test = pd.DataFrame({"A": s, "B": td, "C": i, "D":f, "E":c, "F":cn, "G":b, "H":n})
transformation of two features as categories
test['E'] = test_03['E'].astype('category')
test['F'] = test_03['F'].astype('category')
run infolib
inf(test)
Development Status
Read well and don't say you didn't know.
✔️ Planning
✔️ Pre-Alpha
✔️ Alpha
❌ Beta
❌ Production/Stable
❌ Mature
❌ Inactive
The alpha version was tested in Colab (py 3.7) and on Jupyter (py 3.10 on Windows)
Demo
Demo on Colab: https://colab.research.google.com/drive/1KTI7CwP_E7IJod_WiD0PT31MaRBdhiki?usp=sharing
License
MIT: https://github.com/AntonelloManenti/infolib/blob/main/LICENSE
Contacts
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file infolib-0.1.21.tar.gz.
File metadata
- Download URL: infolib-0.1.21.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b0d1edac0d8971619d5750fe2edecc2114ee1b8b06cdae31f601fb032b16868
|
|
| MD5 |
18da19b95fd21aac59025c9d7377e321
|
|
| BLAKE2b-256 |
92a84b4d0181d8a794d2d55d624a23b2eb6f02197d2d751fcddc489f5ef26a92
|
File details
Details for the file infolib-0.1.21-py3-none-any.whl.
File metadata
- Download URL: infolib-0.1.21-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30274c2aa5391b4749560e48be73d01148c90c45acde83be1f9b04407e21d71e
|
|
| MD5 |
b3efa32dc2c8214c39030b7ac5a3207c
|
|
| BLAKE2b-256 |
a84a4126e7a269122af2b2b9f805c9f08f62d08d76064a70796ada0ca7d55683
|