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.1.tar.gz
(114.1 kB
view hashes)
Built Distribution
pandasgui-0.0.1-py3-none-any.whl
(17.9 kB
view hashes)
Close
Hashes for pandasgui-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28236768b49085ba7f7e79cd914b55fc51d46dbdd8edb675dc60cb39e74f202e |
|
MD5 | 23ab57043bcdb071afb1460810166a29 |
|
BLAKE2b-256 | 60880c5041f8c615f07c3c5b576c8115201cd6d5e6f8ba56c245a2ba6d5de386 |