Skip to content

Commit 9109812

Browse files
committed
DOC: v0.13.1.txt updates
1 parent 667c6cd commit 9109812

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

doc/source/v0.13.1.txt

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,19 @@ Output Formatting Enhancements
5050

5151
max_info_rows = pd.get_option('max_info_rows')
5252

53-
df = DataFrame(np.random.randn(10,2))
54-
df.iloc[3:6,0] = np.nan
53+
df = DataFrame(dict(A = np.random.randn(10),
54+
B = np.random.randn(10),
55+
C = date_range('20130101',periods=10)))
56+
df.iloc[3:6,[0,2]] = np.nan
57+
58+
.. ipython:: python
5559

5660
# set to not display the null counts
5761
pd.set_option('max_info_rows',0)
5862
df.info()
5963

64+
.. ipython:: python
65+
6066
# this is the default (same as in 0.13.0)
6167
pd.set_option('max_info_rows',max_info_rows)
6268
df.info()
@@ -70,6 +76,7 @@ Output Formatting Enhancements
7076
df
7177

7278
pd.set_option('show_dimensions', True)
79+
df
7380

7481
- The ``ArrayFormatter`` for ``datetime`` and ``timedelta64`` now intelligently
7582
limit precision based on the values in the array (:issue:`3401`)

0 commit comments

Comments
 (0)