Skip to content

Commit ba08390

Browse files
authored
Replaced "the the" with "the" (pandas-dev#31500)
1 parent ce8af21 commit ba08390

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

pandas/_libs/groupby.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1143,7 +1143,7 @@ def group_rank(float64_t[:, :] out,
11431143
# Update out only when there is a transition of values or labels.
11441144
# When a new value or group is encountered, go back #dups steps(
11451145
# the number of occurrence of current value) and assign the ranks
1146-
# based on the the starting index of the current group (grp_start)
1146+
# based on the starting index of the current group (grp_start)
11471147
# and the current index
11481148
if (i == N - 1 or
11491149
(masked_vals[_as[i]] != masked_vals[_as[i+1]]) or

pandas/core/arrays/interval.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -729,11 +729,11 @@ def _shallow_copy(self, left=None, right=None, closed=None):
729729
Parameters
730730
----------
731731
left : array-like
732-
Values to be used for the left-side of the the intervals.
732+
Values to be used for the left-side of the intervals.
733733
If None, the existing left and right values will be used.
734734
735735
right : array-like
736-
Values to be used for the right-side of the the intervals.
736+
Values to be used for the right-side of the intervals.
737737
If None and left is IntervalArray-like, the left and right
738738
of the IntervalArray-like will be used.
739739

pandas/core/generic.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2681,7 +2681,7 @@ def to_clipboard(
26812681
... # 0,1,2,3
26822682
... # 1,4,5,6
26832683
2684-
We can omit the the index by passing the keyword `index` and setting
2684+
We can omit the index by passing the keyword `index` and setting
26852685
it to false.
26862686
26872687
>>> df.to_clipboard(sep=',', index=False)

pandas/plotting/_core.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1426,7 +1426,7 @@ def pie(self, **kwargs):
14261426
Examples
14271427
--------
14281428
In the example below we have a DataFrame with the information about
1429-
planet's mass and radius. We pass the the 'mass' column to the
1429+
planet's mass and radius. We pass the 'mass' column to the
14301430
pie function to get a pie plot.
14311431
14321432
.. plot::

0 commit comments

Comments
 (0)