Skip to main content

A GUI for Pandas DataFrames.

Project description

PandasGUI

A GUI for viewing and analyzing Pandas DataFrames based on PyQt5.

Screenshot

Installation

Install from PyPi:

pip install pandasgui

Install directly from Github for the latest changes.

pip install git+https://github.com/adamerose/pandasgui.git

Usage

Create a simple DataFrame and view it in the GUI

import pandas as pd
from pandasgui import show

example_df = pd.DataFrame(pd.np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]]),
                          columns=['a', 'b', 'c'])
show(example_df)

Example of MultiIndex support, renaming, and nonblocking mode. Nonblocking mode opens the GUI in a separate process and allows you to continue running code in the console

import seaborn as sns
from pandasgui import show

flights = sns.load_dataset('flights')
multi = flights.set_index(['year', 'month']).unstack()  # MultiIndex example
if __name__ == '__main__':  # This is needed when starting a new process. Not necessary in interactive console.
    show(flights, flightsReshaped=multi, nonblocking=True)

About

This project is still in version 0.x.y and subject to major changes. Issues, feedback and forks are welcome. Latest changes will be on the develop branch, and this will be occasionally merged to master as a release with a tag indicating the version number, and this will be what is available on PyPi.

Features

  • View DataFrames and Series
  • MultiIndex support
  • Copy & Paste from GUI
  • Import CSV files with drag & drop
  • Tabs showing column statistics and histograms

Requirements

  • pandas
  • PyQt5
  • seaborn

Screenshots

DataFrame Viewer DataFrame Statistics Histogram Viewer DataFrame Viewer with MultIndex

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

pandasgui-0.1.14.2.tar.gz (50.5 kB view details)

Uploaded Source

File details

Details for the file pandasgui-0.1.14.2.tar.gz.

File metadata

  • Download URL: pandasgui-0.1.14.2.tar.gz
  • Upload date:
  • Size: 50.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

Hashes for pandasgui-0.1.14.2.tar.gz
Algorithm Hash digest
SHA256 c4d81fc9393618c06118b54c1e9923f0c0ff0cfd79fec8bcd762d21960e1d361
MD5 6dcd202b35974a44f1530ceec2bc6af0
BLAKE2b-256 538162e43245cc9e78d3ff7278a32462d4741a53a9278b4e55986640684ca116

See more details on using hashes here.

Supported by

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