Skip to content

Commit 69f1cfa

Browse files
Merge pull request #11161 from jorisvandenbossche/doc-fixes3
DOC: minor doc formatting fixes
2 parents b068225 + a993967 commit 69f1cfa

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

pandas/core/frame.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ def iterrows(self):
597597
Notes
598598
-----
599599
600-
1. Because ``iterrows` returns a Series for each row,
600+
1. Because ``iterrows`` returns a Series for each row,
601601
it does **not** preserve dtypes across the rows (dtypes are
602602
preserved across columns for DataFrames). For example,
603603

pandas/core/series.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,8 @@ def values(self):
333333
[a, a, b, c]
334334
Categories (3, object): [a, b, c]
335335
336-
# this is converted to UTC
336+
Timezone aware datetime data is converted to UTC:
337+
337338
>>> pd.Series(pd.date_range('20130101',periods=3,tz='US/Eastern')).values
338339
array(['2013-01-01T00:00:00.000000000-0500',
339340
'2013-01-02T00:00:00.000000000-0500',

pandas/tools/plotting.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -3674,10 +3674,10 @@ def box(self, by=None, **kwds):
36743674
.. versionadded:: 0.17.0
36753675
36763676
Parameters
3677-
---------
3677+
----------
36783678
by : string or sequence
36793679
Column in the DataFrame to group by.
3680-
**kwds : optional
3680+
\*\*kwds : optional
36813681
Keyword arguments to pass on to :py:meth:`pandas.DataFrame.plot`.
36823682
36833683
Returns

0 commit comments

Comments
 (0)