@@ -1740,23 +1740,14 @@ def keys(self):
1740
1740
"""
1741
1741
return self ._info_axis
1742
1742
1743
- # @Substitution(klass=self.__name__, type_sub=" and column dtypes"*(self._typ
1744
- # =='dataframe'),
1745
- # max_cols_sub="""
1746
- # max_cols : int, optional
1747
- # When to switch from the verbose to the truncated output. If the
1748
- # DataFrame has more than `max_cols` columns, the truncated output
1749
- # is used. By default, the setting in
1750
- # ``pandas.options.display.max_info_columns`` is used.
1751
- # """*(self._typ=='dataframe'), )
1752
1743
def info (
1753
1744
self , verbose = None , buf = None , max_cols = None , memory_usage = None , null_counts = None
1754
1745
) -> None :
1755
1746
"""
1756
1747
Print a concise summary of a %(klass)s.
1757
1748
1758
1749
This method prints information about a %(klass)s including
1759
- the index dtype%(type_sub), non-null values and memory usage.
1750
+ the index dtype%(type_sub)s , non-null values and memory usage.
1760
1751
1761
1752
Parameters
1762
1753
----------
@@ -1766,7 +1757,8 @@ def info(
1766
1757
buf : writable buffer, defaults to sys.stdout
1767
1758
Where to send the output. By default, the output is printed to
1768
1759
sys.stdout. Pass a writable buffer if you need to further process
1769
- the output.%(max_cols_sub)s
1760
+ the output.
1761
+ %(max_cols_sub)s
1770
1762
memory_usage : bool, str, optional
1771
1763
Specifies whether total memory usage of the %(klass)s
1772
1764
elements (including the index) should be displayed. By default,
@@ -1794,9 +1786,9 @@ def info(
1794
1786
1795
1787
See Also
1796
1788
--------
1797
- DataFrame.describe: Generate descriptive statistics of %(klass)s
1789
+ DataFrame.describe: Generate descriptive statistics of DataFrame
1798
1790
columns.
1799
- %(klass)s .memory_usage: Memory usage of %(klass)s%(memory_sub)s .
1791
+ DataFrame .memory_usage: Memory usage of DataFrame columns .
1800
1792
1801
1793
Examples
1802
1794
--------
0 commit comments