Skip to content

Commit dc0c6f0

Browse files
committed
use ignore_index to reset index on DataFrame concat
1 parent 3c8bcdf commit dc0c6f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rashdf/plan.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ def _mesh_summary_output_min_max(
264264
}
265265
)
266266
dfs.append(df)
267-
df = pd.concat(dfs)
267+
df = pd.concat(dfs, ignore_index=True)
268268
return df
269269

270270
def _mesh_summary_output_basic(
@@ -298,7 +298,7 @@ def _mesh_summary_output_basic(
298298
}
299299
)
300300
dfs.append(df)
301-
df = pd.concat(dfs)
301+
df = pd.concat(dfs, ignore_index=True)
302302
return df
303303

304304
def mesh_max_iter(self) -> DataFrame:

0 commit comments

Comments
 (0)