Coder Social home page Coder Social logo

pandasgui's Introduction

PandasGUI

A GUI for viewing and analyzing Pandas DataFrames based on PyQt5.

Screenshot

Installation

Install from PyPi:

pip install pandasgui

Install directly from Github for the latest changes.

pip install git+https://github.com/adamerose/pandasgui.git

Usage

Create a simple DataFrame and view it in the GUI

import pandas as pd
from pandasgui import show

example_df = pd.DataFrame(pd.np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]]),
                          columns=['a', 'b', 'c'])
show(example_df)

Example of MultiIndex support, renaming, and nonblocking mode. Nonblocking mode opens the GUI in a separate process and allows you to continue running code in the console

import seaborn as sns
from pandasgui import show

flights = sns.load_dataset('flights')
multi = flights.set_index(['year', 'month']).unstack()  # MultiIndex example
if __name__ == '__main__':  # This is needed when starting a new process. Not necessary in interactive console.
    show(flights, flightsReshaped=multi, nonblocking=True)

About

This project is still in version 0.x.y and subject to major changes. Issues, feedback and forks are welcome. Latest changes will be on the develop branch, and this will be occasionally merged to master as a release with a tag indicating the version number, and this will be what is available on PyPi.

Features

  • View DataFrames and Series
  • MultiIndex support
  • Copy & Paste from GUI
  • Import CSV files with drag & drop
  • Tabs showing column statistics and histograms

Requirements

  • pandas
  • PyQt5
  • seaborn

Screenshots

DataFrame Viewer DataFrame Statistics Histogram Viewer DataFrame Viewer with MultIndex

pandasgui's People

Contributors

adamerose avatar sayonb avatar tadeubas avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.