Skip to content

Commit

Permalink
Changes made according to the review
Browse files Browse the repository at this point in the history
  • Loading branch information
Uvi-12 committed Dec 3, 2024
1 parent ec0ffc2 commit 5f8dabd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/core/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -3885,7 +3885,7 @@ def to_csv(
Format floats using scientific notation:
>>> df.to_csv("out2.csv", float_format="{:.2e}".format) # doctest: +SKIP
>>> df.to_csv("out2.csv", float_format="{{:.2e}}".format) # doctest: +SKIP
"""
df = self if isinstance(self, ABCDataFrame) else self.to_frame()

Expand Down

0 comments on commit 5f8dabd

Please sign in to comment.