File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1459,8 +1459,8 @@ def unique(self):
1459
1459
>>> pd.Series([pd.Timestamp('20160101') for _ in range(3)]).unique()
1460
1460
array(['2016-01-01T00:00:00.000000000'], dtype='datetime64[ns]')
1461
1461
1462
- >>> pd.Series([pd.Timestamp('20160101', tz='US/Eastern') \
1463
- for _ in range(3)]).unique()
1462
+ >>> pd.Series([pd.Timestamp('20160101', tz='US/Eastern')
1463
+ ... for _ in range(3)]).unique()
1464
1464
array([Timestamp('2016-01-01 00:00:00-0500', tz='US/Eastern')],
1465
1465
dtype=object)
1466
1466
@@ -1473,8 +1473,8 @@ def unique(self):
1473
1473
1474
1474
An ordered Categorical preserves the category ordering.
1475
1475
1476
- >>> pd.Series(pd.Categorical(list('baabc'), categories=list('abc'), \
1477
- ordered=True)).unique()
1476
+ >>> pd.Series(pd.Categorical(list('baabc'), categories=list('abc'),
1477
+ ... ordered=True)).unique()
1478
1478
[b, a, c]
1479
1479
Categories (3, object): [a < b < c]
1480
1480
"""
You can’t perform that action at this time.
0 commit comments