Skip to content

Commit eaa8b47

Browse files
author
Yuvraj Pradhan
authored
DOC: Fixed spelling of 'behaviour' to 'behavior' (#60398)
1 parent d4ae654 commit eaa8b47

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pandas/core/series.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ def __arrow_c_stream__(self, requested_schema=None):
567567
Export the pandas Series as an Arrow C stream PyCapsule.
568568
569569
This relies on pyarrow to convert the pandas Series to the Arrow
570-
format (and follows the default behaviour of ``pyarrow.Array.from_pandas``
570+
format (and follows the default behavior of ``pyarrow.Array.from_pandas``
571571
in its handling of the index, i.e. to ignore it).
572572
This conversion is not necessarily zero-copy.
573573
@@ -2226,7 +2226,7 @@ def drop_duplicates(
22262226
5 hippo
22272227
Name: animal, dtype: object
22282228
2229-
With the 'keep' parameter, the selection behaviour of duplicated values
2229+
With the 'keep' parameter, the selection behavior of duplicated values
22302230
can be changed. The value 'first' keeps the first occurrence for each
22312231
set of duplicated entries. The default value of keep is 'first'.
22322232
@@ -3451,7 +3451,7 @@ def sort_values(
34513451
4 5.0
34523452
dtype: float64
34533453
3454-
Sort values ascending order (default behaviour)
3454+
Sort values ascending order (default behavior)
34553455
34563456
>>> s.sort_values(ascending=True)
34573457
1 1.0
@@ -4098,7 +4098,7 @@ def swaplevel(
40984098
40994099
In the following example, we will swap the levels of the indices.
41004100
Here, we will swap the levels column-wise, but levels can be swapped row-wise
4101-
in a similar manner. Note that column-wise is the default behaviour.
4101+
in a similar manner. Note that column-wise is the default behavior.
41024102
By not supplying any arguments for i and j, we swap the last and second to
41034103
last indices.
41044104

0 commit comments

Comments
 (0)