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
Release history Release notifications | RSS feed
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)
Built Distribution
pandasgui-0.0.4-py3-none-any.whl
(21.6 kB
view hashes)
Close
Hashes for pandasgui-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a21270b58248647060c0eb82ac9e1b9632da6eee2d73cec3111721e25f2e8fe4 |
|
MD5 | 4df4e957cd186144bb9f04f1999884e1 |
|
BLAKE2b-256 | 59875887301998abe48acd382fd2bf4a9bba1a264d154ef99034f475f521ead3 |