Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions pandas/core/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ def __arrow_c_stream__(self, requested_schema=None):
Export the pandas Series as an Arrow C stream PyCapsule.
This relies on pyarrow to convert the pandas Series to the Arrow
format (and follows the default behaviour of ``pyarrow.Array.from_pandas``
format (and follows the default behavior of ``pyarrow.Array.from_pandas``
in its handling of the index, i.e. to ignore it).
This conversion is not necessarily zero-copy.
Expand Down Expand Up @@ -2226,7 +2226,7 @@ def drop_duplicates(
5 hippo
Name: animal, dtype: object
With the 'keep' parameter, the selection behaviour of duplicated values
With the 'keep' parameter, the selection behavior of duplicated values
can be changed. The value 'first' keeps the first occurrence for each
set of duplicated entries. The default value of keep is 'first'.
Expand Down Expand Up @@ -3451,7 +3451,7 @@ def sort_values(
4 5.0
dtype: float64
Sort values ascending order (default behaviour)
Sort values ascending order (default behavior)
>>> s.sort_values(ascending=True)
1 1.0
Expand Down Expand Up @@ -4098,7 +4098,7 @@ def swaplevel(
In the following example, we will swap the levels of the indices.
Here, we will swap the levels column-wise, but levels can be swapped row-wise
in a similar manner. Note that column-wise is the default behaviour.
in a similar manner. Note that column-wise is the default behavior.
By not supplying any arguments for i and j, we swap the last and second to
last indices.
Expand Down