Skip to main content

No project description provided

Project description

DataFrame Viewer

A Python module to display large pandas DataFrames with auto-adjusted column widths in a web browser.

Overview

This module lets you visualize pandas DataFrames in a more readable format by rendering them as HTML tables in your default web browser. It includes basic styling to ensure that column widths are auto-adjusted, making it easier to view large DataFrames without saving them to disk.

Features

  • Auto-Adjusted Column Widths: Improves readability by adjusting column widths dynamically.
  • HTML Rendering: Displays DataFrames in a formatted HTML table.
  • No Disk Writes: Uses temporary files automatically deleted after use.

Installation

pip install view_df

Usage

  1. Import the Module:
    from view_df import view_df
    
  2. Create a DataFrame and view it:
    import pandas as pd
    from view_df import view_df
    
    # Example DataFrame
    data = {
    'Name': ['Alice', 'Bob', 'Charlie'],
    'Occupation': ['Engineer', 'Doctor', 'Artist'],
    'Location': ['New York', 'Los Angeles', 'Chicago']
    }
    df = pd.DataFrame(data)
    
    # View the DataFrame in a web browser
    view_df(df)
    

Github Repo

https://github.com/TheKola/dataframe-viewer

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

view_df-0.1.2.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

view_df-0.1.2-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file view_df-0.1.2.tar.gz.

File metadata

  • Download URL: view_df-0.1.2.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.2

File hashes

Hashes for view_df-0.1.2.tar.gz
Algorithm Hash digest
SHA256 a3e5a4edaaf806c55ab72bdec2df18fe7b495f5710ee5d45dc45318f0763890c
MD5 66033a2b6c7aac9166e11c8cc4a358d0
BLAKE2b-256 49fdc65b5dab6187f0997619eb24e2405b7d6df90b036e2d65d50a6081d110fb

See more details on using hashes here.

File details

Details for the file view_df-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: view_df-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.2

File hashes

Hashes for view_df-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ed22157eb8f4060f9169b04a0d3d28323f426539e8b791556c347e806582c591
MD5 e6dac0d0040c01066ce830ad09ec3c5d
BLAKE2b-256 50c251835bd4ce536a83d8b1362075f293d420302907a95faf32d3b72b151d8b

See more details on using hashes here.

Supported by

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