We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b5662a commit ccbe5adCopy full SHA for ccbe5ad
1 file changed
src/binding/python/openpmd_api/DataFrame.py
@@ -113,11 +113,11 @@ def iterations_to_dataframe(series, species_name):
113
114
df = pd.concat(
115
(
116
- series.iterations[i]
+ iteration
117
.particles[species_name]
118
.to_df()
119
.assign(iteration=i)
120
- for i in series.iterations
+ for i, iteration in series.snapshots().items()
121
),
122
axis=0,
123
ignore_index=True,
@@ -170,12 +170,12 @@ def iterations_to_cudf(series, species_name):
170
cdf = cudf.concat(
171
172
cudf.from_pandas(
173
174
175
176
177
)
178
179
180
181
0 commit comments