Metadata-Version: 2.1
Name: infolib
Version: 0.2.2
Summary: A small, simple and sturdy library to overview our PandasDataframe
Home-page: https://github.com/AntonelloManenti/infolib
Author: Antonello Manenti
Author-email: antonellomanenti@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Scientific/Engineering
Requires-Python: >3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy
Requires-Dist: pandas
Requires-Dist: ipython
Requires-Dist: more-itertools
Requires-Dist: psutil
Requires-Dist: regex

infolib
=======

*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.Dataframe

`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
--------

linkedin: https://www.linkedin.com/in/antonello-manenti/


