diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 4b24b3f9dee19..9d44ea947e562 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -2229,8 +2229,8 @@ def to_excel( For compatibility with :meth:`~DataFrame.to_csv`, to_excel serializes lists and dicts to strings before writing. - Once a workbook has been saved it is not possible write further data - without rewriting the whole workbook. + Once a workbook has been saved it is not possible to write further + data without rewriting the whole workbook. Examples -------- @@ -2366,9 +2366,9 @@ def to_json( suitable format for JSON. Should receive a single argument which is the object to convert and return a serialisable object. lines : bool, default False - If 'orient' is 'records' write out line delimited json format. Will - throw ValueError if incorrect 'orient' since others are not list - like. + If 'orient' is 'records' write out line-delimited json format. Will + throw ValueError if incorrect 'orient' since others are not + list-like. compression : {{'infer', 'gzip', 'bz2', 'zip', 'xz', None}} @@ -2669,7 +2669,7 @@ def to_hdf( -------- read_hdf : Read from HDF file. DataFrame.to_parquet : Write a DataFrame to the binary parquet format. - DataFrame.to_sql : Write to a sql table. + DataFrame.to_sql : Write to a SQL table. DataFrame.to_feather : Write out feather-format for DataFrames. DataFrame.to_csv : Write out to a csv file.