Metadata-Version: 2.4
Name: sheetframe
Version: 0.1.3
Summary: Interactive spreadsheet-style pandas tables for Jupyter and Colab
Keywords: pandas,jupyter,colab,dataframe,table
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Web Environment
Classifier: Framework :: Jupyter
Classifier: Intended Audience :: Science/Research
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Scientific/Engineering :: Visualization
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: numpy>=1.23
Requires-Dist: pandas>=1.5
Requires-Dist: ipython>=8

# sheetframe

An interactive DataFrame table for Jupyter notebooks and Google Colab. Browse pandas data like a spreadsheet: select cells, rows, or columns; resize them; and copy selections into a spreadsheet or document. Turn on a compact summary when you want row counts, missing values, duplicates, and memory usage at a glance.

## Install

```python
%pip install sheetframe
```

## Use

```python
import pandas as pd
import sheetframe as sf

df = pd.DataFrame({
    "Student": ["Ada", "Lin", "Sam"],
    "Score": [91.25, 87.5, 94.0],
})

sf.table(df)
```

The table appears in the notebook output. You can customize it:

```python
sf.table(
    df,
    decimal=2,
    showIndex=True,
    include_header=True,
    kpi=True,
)
```

| Option | What it does | Default |
| --- | --- | --- |
| `decimal` | Decimal places shown for numbers; `0` keeps their original text | `2` |
| `showIndex` | Shows the DataFrame index when the table opens | `False` |
| `include_header` | Includes column names when copying a selection | `True` |
| `kpi` | Shows a summary above the table | `False` |

Pass a pandas DataFrame or Series. You can also call `sf.sheetframe(df)` or use `from sheetframe import sheetframe`.
