Skip to content

Commit

Permalink
Remove deprecated df.append()
Browse files Browse the repository at this point in the history
  • Loading branch information
mfleschutz committed May 22, 2024
1 parent 53c0059 commit 7900519
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elmada/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def _append_rows(

class_of_df = type(df)
line = class_of_df(data=addon_data, index=new_index) # new Series OR Dataframe.
df = df.append(line).sort_index().reset_index(drop=True)
df = pd.concat([df, line]).sort_index().reset_index(drop=True)
return df


Expand Down

0 comments on commit 7900519

Please sign in to comment.