File tree 1 file changed +9
-2
lines changed
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -50,13 +50,19 @@ Output Formatting Enhancements
50
50
51
51
max_info_rows = pd.get_option('max_info_rows')
52
52
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
55
59
56
60
# set to not display the null counts
57
61
pd.set_option('max_info_rows',0)
58
62
df.info()
59
63
64
+ .. ipython:: python
65
+
60
66
# this is the default (same as in 0.13.0)
61
67
pd.set_option('max_info_rows',max_info_rows)
62
68
df.info()
@@ -70,6 +76,7 @@ Output Formatting Enhancements
70
76
df
71
77
72
78
pd.set_option('show_dimensions', True)
79
+ df
73
80
74
81
- The ``ArrayFormatter`` for ``datetime`` and ``timedelta64`` now intelligently
75
82
limit precision based on the values in the array (:issue:`3401`)
You can’t perform that action at this time.
0 commit comments