diff --git a/pandas/core/generic.py b/pandas/core/generic.py index df5f1a8326acd..8d16b079ba2c8 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -1265,7 +1265,7 @@ def to_json(self, path_or_buf=None, orient=None, date_format=None, Parameters ---------- path_or_buf : the path or buffer to write the result string - if this is None, return a StringIO of the converted string + if this is None, return the converted string orient : string * Series