🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

data-profile-viewer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

data-profile-viewer

Data Profile Viewer tool. Enables the exploration of data profile in Jupyter Notebooks

0.2.7
Maintainers
1

DataProfileViewer

Data profile viewer is compatible with Jupyter Notebooks. Supports the metadata format generated by datamart-profiler library.

Data summary viewer

Refine data profiler results viewer

Install via pip

pip install data-profile-viewer
pip install datamart-profiler

Demo

In Jupyter Notebook:

import DataProfileViewer
data = DataProfileViewer.get_lifeexpectancy_data()
DataProfileViewer.plot_data_summary(data)

Data Profile Exploration

import DataProfileViewer
import datamart_profiler

In a jupyter notebook, load the data

data_path = 'lifeexpectancydata.csv'
metadata = datamart_profiler.process_dataset(data_path, include_sample=True, plots=True)

and then plot it using:

DataProfileViewer.plot_data_summary(metadata)

Refine Data Profiler Results

You might want to correct/refine the type information, or provide additional annotations for the columns. To do so, use the code:

DataProfileViewer.plot_edit_profiler(metadata)

To retrieve the updated metadata, use the code:

updatedMetadata = DataProfileViewer.get_exported_metadata(data_path)

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts