Skip to content

Commit

Permalink
fixed deprecation of pandas.Dataframe.append
Browse files Browse the repository at this point in the history
  • Loading branch information
erwanp committed Dec 31, 2024
1 parent b0585b2 commit 935753a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ctwrap/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def save(self, data, entry, variation=None, mode=None, errored=False):
df = pd.read_csv(fname)
else:
df = pd.DataFrame(columns=row.keys())
df = df.append(row, ignore_index=True)
df = pd.concat([df, row], ignore_index=True)
df.to_csv(fname, index=False)

def dir(self):
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies:
- h5py
- pint
- ruamel.yaml>=0.17.0
- pandas
- pandas>=1.4
- cantera
- setuptools
- pytest
Expand Down

0 comments on commit 935753a

Please sign in to comment.