Skip to main content

GUI for Pandas DataFrames

Project description

PandasGUI

This project allows display and modification of Pandas DataFrames through a GUI based on PyQt5

Installation

Run the following to install:

pip install pandasgui

Usage

###Basic

import pandas as pd
from pandasgui import show

# Basic example with multiindex dataframe
arrays = [['bar', 'bar', 'baz', 'baz', 'foo', 'foo', 'qux', 'qux'],
         ['one', 'two', 'one', 'two', 'one', 'two', 'one', 'two']]
random_df = pd.DataFrame(pd.np.random.randn(8, 8), index=arrays, columns=arrays)
show(random_df)

###Advanced

import pandas as pd
from pandasgui import show

# Example showing nonblocking instance, passing multiple dataframes, and custom names as kwargs
arrays = [['bar', 'bar', 'baz', 'baz', 'foo', 'foo', 'qux', 'qux'],
         ['one', 'two', 'one', 'two', 'one', 'two', 'one', 'two']]
random_df = pd.DataFrame(pd.np.random.randn(8, 8), index=arrays, columns=arrays)
random_df_2 = pd.DataFrame(pd.np.random.randn(8, 8)*10, index=arrays, columns=arrays)
random_df_long = pd.DataFrame(pd.np.random.randn(500, 8)*100, columns=arrays)
show(random_df_long, nonblocking=True)
show(custom_name_1=random_df, custom_name_2=random_df_2)

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.0.4.tar.gz (117.1 kB view hashes)

Uploaded Source

Built Distribution

pandasgui-0.0.4-py3-none-any.whl (21.6 kB view hashes)

Uploaded Python 3

Supported by

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