Skip to content

Commit b68779b

Browse files
committed
Removed extraneous bracket
1 parent 0d73d48 commit b68779b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/core/arrays/arrow/array.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1515,7 +1515,8 @@ def factorize(
15151515
Examples
15161516
--------
15171517
>>> arr = pd.array(
1518-
... [['Ant', 'Badger', 'Cobra','Cobra', 'Deer', 'Ant'], dtype=str)
1518+
... ["Ant", "Badger", "Cobra", "Cobra", "Deer", "Ant"], dtype=str
1519+
... )
15191520
>>> arr_codes, arr_uniques = arr.factorize()
15201521
>>> arr_codes
15211522
array([0, 1, 2, 2, 3, 0])

0 commit comments

Comments
 (0)