Skip to content

Commit 83e92be

Browse files
authored
Fix pandas deprecation warning (#103)
Fixes `FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.`
1 parent 6afb284 commit 83e92be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

petab/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ def concat_tables(
209209
if isinstance(tmp_df, (str, Path)):
210210
tmp_df = file_parser(tmp_df)
211211

212-
df = df.append(tmp_df, sort=False,
212+
df = pd.concat([df, tmp_df], sort=False,
213213
ignore_index=isinstance(tmp_df.index, pd.RangeIndex))
214214

215215
return df

0 commit comments

Comments
 (0)