Skip to content

Commit

Permalink
DOC: Fixed spelling of 'behaviour' to 'behavior' (#60398)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuvraj Pradhan authored Nov 22, 2024
1 parent d4ae654 commit eaa8b47
Showing 1 changed file with 4 additions and 4 deletions.
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

0 comments on commit eaa8b47

Please sign in to comment.