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.1.tar.gz (2.1 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.1-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: view_df-0.1.1.tar.gz
  • Upload date:
  • Size: 2.1 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.1.tar.gz
Algorithm Hash digest
SHA256 f238b4198df1c84406abd09cadc5ccd8bea8e0b7364a799955b124459c07237c
MD5 710bba8b4f7b59b885102a80a71513a7
BLAKE2b-256 72af4018a2b3f211ca39f77ec1c88d5f573c888862d9543c9ff66f356081e17b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: view_df-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.6 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 55430fe82f1f4b54ae91e30b13fc791771e9e4b5400ba7ed45c462cb32765d97
MD5 7b4c9882ef7b262b9d5dc29aa3136811
BLAKE2b-256 6120af4b111b2fc5bca57d56e4f505a80dcca2c266b5f68e9ed6c729461e1727

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