Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ShuguangSun/python-view-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

15 Commits

Repository files navigation

MELPA MELPA Stable Build Status License

python-view-data

View data in Python.

If you are a R user, please find out `ess-view-data'.

Installation

Clone this repository, or install from MELPA (not yet now). Add the following to your .emacs:

(require 'python-view-data)

Call python-view-data-print, select a pandas dataframe, and then a buffer will pop up with data listed/printed. Further verbs can be done, like filter (query), select/unselect, mutate, group/ungroup, count, unique, describe, and etc. It can be reset (python-view-data-reset) any time.

To avoid mistaking break the orignial data, it will make a copy of the dataframe as default.

You can the history in the buffer of *Python View Data*.

Customization

python-view-data-backend-list

  • pandas.to_csv

python-view-data-print-backend-list

  • pandas.to_csv

python-view-data-save-backend-list

  • pandas.to_csv
  • pandas.to_excel

Usage

NOTE: it will make a copy of the data and then does the following action

The entry function to view data:

  • python-view-data-print

In a *Python* buffer or a Python script buffer, M-x python-view-data-print.

Setting:

  • python-view-data-toggle-maxprint: toggle limitation of lines per page to print

Verbs:

  • python-view-data-filter or python-view-data-query: query

  • python-view-data-select / python-view-data-unselect

  • python-view-data-sort

  • python-view-data-group / python-view-data-ungroup : set/unset groupby columns

  • python-view-data-reset

  • python-view-data-unique

  • python-view-data-count

  • python-view-data-describe

  • python-view-data-goto-page / -next-page / -preious-page / -first-page / -last-page / -page-number

  • python-view-data-save

About

View data in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /