Skip to content

Commit 01252df

Browse files
Merge pull request #11673 from jorisvandenbossche/post-0171-rel
DOC: minor fixes
2 parents 5823a6d + dd935de commit 01252df

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

pandas/core/frame.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ def style(self):
584584
585585
See Also
586586
--------
587-
pandas.core.Styler
587+
pandas.core.style.Styler
588588
"""
589589
from pandas.core.style import Styler
590590
return Styler(self)

pandas/core/generic.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1862,7 +1862,7 @@ def sort_index(self, axis=0, level=None, ascending=True, inplace=False,
18621862
18631863
>>> date_index = pd.date_range('1/1/2010', periods=6, freq='D')
18641864
>>> df2 = pd.DataFrame({"prices": [100, 101, np.nan, 100, 89, 88]},
1865-
index=date_index)
1865+
... index=date_index)
18661866
>>> df2
18671867
prices
18681868
2010-01-01 100

pandas/core/style.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class Styler(object):
6363
6464
Attributes
6565
----------
66-
tempate: Jinja Template
66+
template: Jinja Template
6767
6868
Notes
6969
-----
@@ -744,6 +744,3 @@ def _highlight_extrema(data, color='yellow', max_=True):
744744
extrema = data == data.min().min()
745745
return pd.DataFrame(np.where(extrema, attr, ''),
746746
index=data.index, columns=data.columns)
747-
748-
749-

0 commit comments

Comments
 (0)