Scrollable pandas dataframes in the terminal.
Project description
termpandas
Scrollable Pandas DataFrames in the Terminal.
Installation
pip install termpandas
Usage
import pandas as pd
from termpandas import tprint
df = pd.read_csv('titanic.csv')
tprint(df)
- Key Bindings:
k
orUp Arrow Key
to scroll upj
orDown Arrow Key
to scroll downh
orLeft Arrow Key
to scroll leftl
orRight Arrow Key
to scroll rightq
to quit
Optional Parameters
num_rows
: Number of rows to display at a time. Default is 10.
tprint(df, num_rows=5)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
termpandas-0.1.0.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for termpandas-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e36ad7eb4a2be902d3d39f1a695ae673ba5b033296fbc1eb978fe93f396a6eba |
|
MD5 | b095e12942e4c5b611364afc2d780180 |
|
BLAKE2b-256 | 4a53445f2090583787b783d26736fac55add8dacb8efbca8595040baa54b5e43 |