You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v0.17.1.txt
+13
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,19 @@ Enhancements
27
27
- Improve the error message displayed in :func:`pandas.io.gbq.to_gbq` when the DataFrame does not match the schema of the destination table (:issue:`11359`)
28
28
- Added ``axvlines_kwds`` to parallel coordinates plot (:issue:`10709`)
29
29
30
+
- Option to ``.info()`` and ``.memory_usage()`` to provide for deep introspection of memory consumption. Note that this can be expensive to compute and therefore is an optional parameter. (:issue:``11595``)
31
+
32
+
.. ipython:: python
33
+
34
+
df = DataFrame({'A' : ['foo']*1000})
35
+
df['B'] = df['A'].astype('category')
36
+
37
+
# shows the '+' as we have object dtypes
38
+
df.info()
39
+
40
+
# we have an accurate memory assessment (but can be expensive to compute this)
41
+
df.info(memory_usage='deep')
42
+
30
43
- ``Index`` now has ``fillna`` method (:issue:`10089`)
0 commit comments