Skip to content
This repository was archived by the owner on Jan 9, 2023. It is now read-only.

update README to deprecation of do_flatten(flatten=True) #72

Merged
merged 1 commit into from
Oct 2, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ df = read_root('myfile.root', columns=['noexpand:sqrt(variable1)']
Working with stored arrays can be a bit inconventient in pandas.
`root_pandas` makes it easy to flatten your input data, providing you with a DataFrame containing only scalars:
```python
df = read_root('myfile.root', columns=['arrayvariable', 'othervariable'], flatten=True)
df = read_root('myfile.root', columns=['arrayvariable', 'othervariable'], flatten=['arrayvariable'])
```

Assuming the ROOT file contains the array `[1, 2, 3]` in the first `arrayvariable` column, flattening
Expand Down