@@ -1721,23 +1721,14 @@ def keys(self):
17211721 """
17221722 return self ._info_axis
17231723
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'), )
17331724 def info (
17341725 self , verbose = None , buf = None , max_cols = None , memory_usage = None , null_counts = None
17351726 ) -> None :
17361727 """
17371728 Print a concise summary of a %(klass)s.
17381729
17391730 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.
17411732
17421733 Parameters
17431734 ----------
@@ -1747,7 +1738,8 @@ def info(
17471738 buf : writable buffer, defaults to sys.stdout
17481739 Where to send the output. By default, the output is printed to
17491740 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
17511743 memory_usage : bool, str, optional
17521744 Specifies whether total memory usage of the %(klass)s
17531745 elements (including the index) should be displayed. By default,
@@ -1775,9 +1767,9 @@ def info(
17751767
17761768 See Also
17771769 --------
1778- DataFrame.describe: Generate descriptive statistics of %(klass)s
1770+ DataFrame.describe: Generate descriptive statistics of DataFrame
17791771 columns.
1780- %(klass)s .memory_usage: Memory usage of %(klass)s%(memory_sub)s .
1772+ DataFrame .memory_usage: Memory usage of DataFrame columns .
17811773
17821774 Examples
17831775 --------
0 commit comments