From dd935de64767eea4258a33639267a589fb8cd5c7 Mon Sep 17 00:00:00 2001 From: Joris Van den Bossche Date: Sat, 21 Nov 2015 09:20:32 +0100 Subject: [PATCH] DOC: minor fixes --- pandas/core/frame.py | 2 +- pandas/core/generic.py | 2 +- pandas/core/style.py | 5 +---- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 15a840ff3c7ba..81bbbcc873107 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -584,7 +584,7 @@ def style(self): See Also -------- - pandas.core.Styler + pandas.core.style.Styler """ from pandas.core.style import Styler return Styler(self) diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 3df81481f1e84..6aeb4d83649ef 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -1862,7 +1862,7 @@ def sort_index(self, axis=0, level=None, ascending=True, inplace=False, >>> date_index = pd.date_range('1/1/2010', periods=6, freq='D') >>> df2 = pd.DataFrame({"prices": [100, 101, np.nan, 100, 89, 88]}, - index=date_index) + ... index=date_index) >>> df2 prices 2010-01-01 100 diff --git a/pandas/core/style.py b/pandas/core/style.py index 550b0f16eabb7..5974e0e660a0b 100644 --- a/pandas/core/style.py +++ b/pandas/core/style.py @@ -63,7 +63,7 @@ class Styler(object): Attributes ---------- - tempate: Jinja Template + template: Jinja Template Notes ----- @@ -744,6 +744,3 @@ def _highlight_extrema(data, color='yellow', max_=True): extrema = data == data.min().min() return pd.DataFrame(np.where(extrema, attr, ''), index=data.index, columns=data.columns) - - -