Skip to main content

dfhelper is a Python package that simplifies data preprocessing and visualization in Jupyter Notebooks.

Project description

🛠️ dfhelper


What is this?

Dfhelper is a versatile Python package that streamlines data preprocessing and visualization in Jupyter Notebooks. With intuitive functions for cleaning and transforming pandas DataFrames and the ability to render them as interactive HTML tables, this toolkit is an essential addition to any data scientist's arsenal. Simplify your data analysis process and gain clearer insights with dfhelper.

Quick installation

!pip install dfhelper

Main functionality

  1. Output date frames in HTML. This is extremely useful when working with multiple selections
  2. Output in HTML df.info() multiple dataframes
  3. Output the size of the date frames in html.
  4. The ability to display dataframes vertically and horizontally
  5. Functions for summarizing the date of Ephraim, created for conducting EDA

Quick Guide

import pandas as pd
from dfhelper.viz import df_view, df_info_view, df_shape_view
from dfhelper.scout import summarize_df, summarize_dfs


# viz
df1 = pd.DataFrame(
            {"A": [1, 0, 0, None],
             "B": [1, 1, 2, 2],
             "C": [None, None, None, None]}
        )

df2 = pd.DataFrame(
            {"A": [1, 5, 0, 10],
             "B": [1, 1, 2, 2],
             "C": [None, 4, 16, 101]}
        )

# Output of two dataframes
df_view(df1, df2)
# Output information about two dataframes
df_info_view(df1, df2)
# Output of the sizes of two dataframes
df_shape_view(df1, df2)

# scount
# Table of the main characteristics of the dataframe
summarize_df(df1)
# Displaying the main characteristics of dataframes
summarize_dfs(df1, df2)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dfhelper-0.0.3.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

dfhelper-0.0.3-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file dfhelper-0.0.3.tar.gz.

File metadata

  • Download URL: dfhelper-0.0.3.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for dfhelper-0.0.3.tar.gz
Algorithm Hash digest
SHA256 7deddb5d22ca9761b915d0c48c23f3da6064f4bdb5eaeb74663da36369f5ad0c
MD5 d5f77561bc585d43972418b6a36ac447
BLAKE2b-256 c1ffe64279833c9f237702cc57ad8d7ffd4bead44f2e51c922a584a35bdb0e8e

See more details on using hashes here.

File details

Details for the file dfhelper-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: dfhelper-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for dfhelper-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6a9c03e3a8400166d158a926991b834aebe536bd9a91517d849a161f79f1e2c0
MD5 e95c5608fec973c16845a6216585a543
BLAKE2b-256 f81a663f669e16f71d6a4859f7cf4f3f03af70410c9d2c829bf97565a6f7234a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page