Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
hanjinliu committed Jul 18, 2022
1 parent 68b5527 commit c311fdf
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,19 @@ viewer = open_sample("iris")

`tabulous` is highly inspired by [napari](https://github.com/napari/napari) in its design and API.

### Installation

```
pip install tabulous
```

### How it works.

```python
df = pd.read_csv("data.csv")
viewer.add_table(df) # add table data to viewer
viewer.tables # table list
table = viewer.tables[1] # get table
table = viewer.tables[0] # get table
table.data # get pd.DataFrame object (or other similar one)

# Connect data changed signal
Expand Down

0 comments on commit c311fdf

Please sign in to comment.