Skip to content

Commit

Permalink
fix: use correct file extension for dataframe csv serialization (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
manzt authored May 30, 2023
1 parent 173037f commit 74f8b2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gosling/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ def __init__(self, df: pd.DataFrame):

def csv(self, **kwargs):
content = self._df.to_csv(index=False) or ""
url = data_server(content, extension="csv")
url = data_server(content, extension=".csv")
return dict(type="csv", url=url, **kwargs)

0 comments on commit 74f8b2d

Please sign in to comment.