Skip to content

Commit 7b5662a

Browse files
committed
Revert dataframe example
It accesses all Iterations at once
1 parent a003a9a commit 7b5662a

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

examples/11_particle_dataframe.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,8 @@
3535

3636
# This "if" is important for distributed dask runs
3737
if __name__ == "__main__":
38-
s = io.Series("../samples/git-sample/data%T.h5", io.Access.read_only, {
39-
"defer_iteration_parsing": True
40-
})
41-
# with defer_iteration_parsing, open() must be called explicitly
42-
electrons = s.snapshots()[400].open().particles["electrons"]
38+
s = io.Series("../samples/git-sample/data%T.h5", io.Access.read_only)
39+
electrons = s.snapshots()[400].particles["electrons"]
4340

4441
# all particles
4542
df = electrons.to_df()

0 commit comments

Comments
 (0)