Skip to content

Commit cf5f964

Browse files
straguJulianWgs
authored andcommitted
docstrings: typos, clarity (pandas-dev#41845)
Minor changes only in docstrings
1 parent 5dd25d8 commit cf5f964

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pandas/core/generic.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -2229,8 +2229,8 @@ def to_excel(
22292229
For compatibility with :meth:`~DataFrame.to_csv`,
22302230
to_excel serializes lists and dicts to strings before writing.
22312231
2232-
Once a workbook has been saved it is not possible write further data
2233-
without rewriting the whole workbook.
2232+
Once a workbook has been saved it is not possible to write further
2233+
data without rewriting the whole workbook.
22342234
22352235
Examples
22362236
--------
@@ -2366,9 +2366,9 @@ def to_json(
23662366
suitable format for JSON. Should receive a single argument which is
23672367
the object to convert and return a serialisable object.
23682368
lines : bool, default False
2369-
If 'orient' is 'records' write out line delimited json format. Will
2370-
throw ValueError if incorrect 'orient' since others are not list
2371-
like.
2369+
If 'orient' is 'records' write out line-delimited json format. Will
2370+
throw ValueError if incorrect 'orient' since others are not
2371+
list-like.
23722372
23732373
compression : {{'infer', 'gzip', 'bz2', 'zip', 'xz', None}}
23742374
@@ -2669,7 +2669,7 @@ def to_hdf(
26692669
--------
26702670
read_hdf : Read from HDF file.
26712671
DataFrame.to_parquet : Write a DataFrame to the binary parquet format.
2672-
DataFrame.to_sql : Write to a sql table.
2672+
DataFrame.to_sql : Write to a SQL table.
26732673
DataFrame.to_feather : Write out feather-format for DataFrames.
26742674
DataFrame.to_csv : Write out to a csv file.
26752675

0 commit comments

Comments
 (0)