@@ -1721,23 +1721,14 @@ def keys(self):
1721
1721
"""
1722
1722
return self ._info_axis
1723
1723
1724
- # @Substitution(klass=self.__name__, type_sub=" and column dtypes"*(self._typ
1725
- # =='dataframe'),
1726
- # max_cols_sub="""
1727
- # max_cols : int, optional
1728
- # When to switch from the verbose to the truncated output. If the
1729
- # DataFrame has more than `max_cols` columns, the truncated output
1730
- # is used. By default, the setting in
1731
- # ``pandas.options.display.max_info_columns`` is used.
1732
- # """*(self._typ=='dataframe'), )
1733
1724
def info (
1734
1725
self , verbose = None , buf = None , max_cols = None , memory_usage = None , null_counts = None
1735
1726
) -> None :
1736
1727
"""
1737
1728
Print a concise summary of a %(klass)s.
1738
1729
1739
1730
This method prints information about a %(klass)s including
1740
- the index dtype%(type_sub), non-null values and memory usage.
1731
+ the index dtype%(type_sub)s , non-null values and memory usage.
1741
1732
1742
1733
Parameters
1743
1734
----------
@@ -1747,7 +1738,8 @@ def info(
1747
1738
buf : writable buffer, defaults to sys.stdout
1748
1739
Where to send the output. By default, the output is printed to
1749
1740
sys.stdout. Pass a writable buffer if you need to further process
1750
- the output.%(max_cols_sub)s
1741
+ the output.
1742
+ %(max_cols_sub)s
1751
1743
memory_usage : bool, str, optional
1752
1744
Specifies whether total memory usage of the %(klass)s
1753
1745
elements (including the index) should be displayed. By default,
@@ -1775,9 +1767,9 @@ def info(
1775
1767
1776
1768
See Also
1777
1769
--------
1778
- DataFrame.describe: Generate descriptive statistics of %(klass)s
1770
+ DataFrame.describe: Generate descriptive statistics of DataFrame
1779
1771
columns.
1780
- %(klass)s .memory_usage: Memory usage of %(klass)s%(memory_sub)s .
1772
+ DataFrame .memory_usage: Memory usage of DataFrame columns .
1781
1773
1782
1774
Examples
1783
1775
--------
0 commit comments