From a993967acdbe13c1165bb0c5f24fda43d4e92528 Mon Sep 17 00:00:00 2001 From: Joris Van den Bossche Date: Wed, 16 Sep 2015 14:21:58 +0200 Subject: [PATCH] DOC: minor doc formatting fixes --- pandas/core/frame.py | 2 +- pandas/core/series.py | 3 ++- pandas/tools/plotting.py | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 9d40cf3921b98..b513b767693bf 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -597,7 +597,7 @@ def iterrows(self): Notes ----- - 1. Because ``iterrows` returns a Series for each row, + 1. Because ``iterrows`` returns a Series for each row, it does **not** preserve dtypes across the rows (dtypes are preserved across columns for DataFrames). For example, diff --git a/pandas/core/series.py b/pandas/core/series.py index 4afaae0fd25df..03b2ea5597ab6 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -333,7 +333,8 @@ def values(self): [a, a, b, c] Categories (3, object): [a, b, c] - # this is converted to UTC + Timezone aware datetime data is converted to UTC: + >>> pd.Series(pd.date_range('20130101',periods=3,tz='US/Eastern')).values array(['2013-01-01T00:00:00.000000000-0500', '2013-01-02T00:00:00.000000000-0500', diff --git a/pandas/tools/plotting.py b/pandas/tools/plotting.py index 3337a978961c4..cd2297d6018ca 100644 --- a/pandas/tools/plotting.py +++ b/pandas/tools/plotting.py @@ -3674,10 +3674,10 @@ def box(self, by=None, **kwds): .. versionadded:: 0.17.0 Parameters - --------- + ---------- by : string or sequence Column in the DataFrame to group by. - **kwds : optional + \*\*kwds : optional Keyword arguments to pass on to :py:meth:`pandas.DataFrame.plot`. Returns