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.3.tar.gz
(114.9 kB
view hashes)
Built Distribution
pandasgui-0.0.3-py3-none-any.whl
(18.9 kB
view hashes)
Close
Hashes for pandasgui-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9577fdf79a596b7a9f04232922a9f7ddd84ae6be05961ada123a707d9bc67161 |
|
MD5 | 5dcfe53e15a62495c6e0c04d63c892a0 |
|
BLAKE2b-256 | 48c2940d0a3f5821ad34a0d6109fca6d61ea31e6505f31d3ecd387df2027af79 |