Skip to content

Commit

Permalink
fix(smartdataframe) : Changed path parameter for exporting (#614)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanmaypatil123 authored Oct 4, 2023
1 parent 2098539 commit a19cfe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandasai/smart_dataframe/abstract_df.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def to_csv(self, path):
"""
A proxy-call to the dataframe's `.to_csv()`.
"""
return self.dataframe.to_csv(path=path)
return self.dataframe.to_csv(path_or_buf=path)

def to_json(self, path):
"""
Expand Down

0 comments on commit a19cfe6

Please sign in to comment.