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.2.tar.gz
(114.2 kB
view hashes)
Built Distribution
pandasgui-0.0.2-py3-none-any.whl
(18.0 kB
view hashes)
Close
Hashes for pandasgui-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 315e1447166da1f3aa17d0a68fd8a23a6fea42c772d75aaa8d0b938d4c3492e1 |
|
MD5 | 5af4863c95aa81ce3b79364c4e6347e2 |
|
BLAKE2b-256 | d0f95c3cdcfc499e1132fdba1b83188517699641d018281561b4cd7b6c4dfbcf |