Inline data profiles for pandas dataframes in jupyter
Project description
ProfileInline
Inline data profiles to help you understand your data with one function.
Check out AutoProfiler for a version that updates automatically when you change your data.
Installation
You can install using pip
:
pip install diginlineprofiler
Usage
Import in a Jupyter notebook or lab then pass in any pandas dataframe.
from diginlineprofiler import Visualizer as plot # here we rename to plot but can be anything
# df must be a pandas dataframe!
plot(df)
Development Installation
Create a dev environment:
conda create -n diginlineprofiler-dev -c conda-forge nodejs yarn python jupyterlab jupyter-packaging
conda activate diginlineprofiler-dev
Install the python. This will also build the TS package.
pip install -e .
When developing your extensions, you need to manually enable your extensions with the notebook / lab frontend. For lab, this is done by the command:
jupyter labextension develop --overwrite .
npm run build
How to see your changes
Jupyter Lab:
If you use JupyterLab to develop then you can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the widget.
# Watch the source directory in one terminal, automatically rebuilding when needed
npm run watch
# Run JupyterLab in another terminal
jupyter lab
After a change wait for the build to finish and then refresh your browser and the changes should take effect.
Python:
If you make a change to the python code then you will need to restart the notebook kernel to have it take effect.
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 diginlineprofiler-0.1.2.tar.gz
.
File metadata
- Download URL: diginlineprofiler-0.1.2.tar.gz
- Upload date:
- Size: 1.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90e035a5d6323f9bdf45081935ed30d982b8aa0d6613a9e87125f0dfef9e9791 |
|
MD5 | f1403f473513030f59da5c62327fed53 |
|
BLAKE2b-256 | ae49efb3984bcf924416a21c8ea009ed832014532090022e8b011f3d67790b47 |
File details
Details for the file diginlineprofiler-0.1.2-py2.py3-none-any.whl
.
File metadata
- Download URL: diginlineprofiler-0.1.2-py2.py3-none-any.whl
- Upload date:
- Size: 1.3 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb6fc63a402964ffa99293f3bf649862293b48192b430c51111e48b22f417469 |
|
MD5 | aac08430918c9c655375f182a88381c1 |
|
BLAKE2b-256 | 2973498c385bde45935eaa65794312962f58a3a6a3820606db2880dfcaa10c35 |