Skip to main content

DataFrame QuickView

DataFrame QuickView is a Python package that extends pandas DataFrame functionality to easily display and visualize DataFrames in a web-based environment. This package is an experiment in paired programming with GPT-4. It is built using Flask and allows users to view paginated DataFrames and interactively generate histograms based on the selected columns.

Features

Phase 1

  • Extend pandas DataFrame with quickview() method
  • Display paginated DataFrame in a web browser
  • Create an interactive dropdown and button combination populated with DataFrame columns
  • Generate histograms based on the selected column when the button is pressed

Phase 1 Technical Overview

  • Flask server: Represents the backend server running the Flask application, which serves the paginated DataFrame and processes the histogram data.
  • DataFrame display: The component in the web browser that shows the paginated DataFrame.
  • Column selection: The dropdown and button combination that allows users to select a column for generating the histogram.
  • Histogram generation: The component responsible for creating a histogram based on the selected column.

Interactions:

  • Flask server sends the paginated DataFrame to the DataFrame display.
  • User selects a column in the Column selection component.
  • User clicks the button in the Column selection component.
  • Flask server receives the selected column and processes the histogram data.
  • Histogram generation component receives the data and displays the histogram.

Usage

  1. Install the package using pip:
pip install dataframe-quickview
  1. Import the package and use the quickview() method on a pandas DataFrame object:
import pandas as pd
from dataframe_quickview import quickview

data = {'A': [1, 2, 3, 4, 5], 'B': [2, 4, 6, 8, 10], 'C': [3, 6, 9, 12, 15]}
df = pd.DataFrame(data)

df.quickview()

This will start the Flask server and open the browser to view the paginated DataFrame and interactive histogram.

Contributing

We welcome contributions to this project. However, please note that all code added to the project should be written primarily by Language Models (LLMs) to maintain the experimental nature of this project.

License

This project is licensed under the MIT License.

Metadata

Release files for dataframe-quickview 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dataframe-quickview 0.1.1
File Size Uploaded Provenance
dataframe-quickview-0.1.1.tar.gz 3.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for dataframe-quickview 0.1.1
File Interpreter ABI Platform
dataframe_quickview-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.3 kB

Release files / dataframe-quickview-0.1.1.tar.gz

Download URL dataframe-quickview-0.1.1.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9f2fa72b9cc31c9a5758bc893ebe6924e84f7e1bd0f941181fe862f4398cefe3
BLAKE2b-256 checksum
How to use checksums
6456dd4a5524e889503554d6c81a54a6fc05713460270515e4c7e1fe6cb52ff1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Release files / dataframe_quickview-0.1.1-py3-none-any.whl

Download URL dataframe_quickview-0.1.1-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
973db995a584c2596152637e710ed250c215909ec4097ec7fd93c6dd051c8789
BLAKE2b-256 checksum
How to use checksums
85b7ee8254c05eab6f5b929781dce4303e888bb8a952950c08e1cebde316724f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Security for dataframe-quickview 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page