Metadata-Version: 2.1
Name: view-df
Version: 0.1.2
Description-Content-Type: text/markdown
License-File: LICENSE.txt

# 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
   ```bash
   pip install view_df
   ```

## Usage

1. Import the Module:
    ```bash
    from view_df import view_df
2. Create a DataFrame and view it:
    ```bash
    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
```bash
https://github.com/TheKola/dataframe-viewer
```
