@@ -2807,21 +2807,25 @@ def to_latex(self, buf=None, columns=None, col_space=None, header=True,
28072807 defaults to 'ascii' on Python 2 and 'utf-8' on Python 3.
28082808 decimal : str, default '.'
28092809 Character recognized as decimal separator, e.g. ',' in Europe.
2810+
28102811 .. versionadded:: 0.18.0
28112812 multicolumn : bool, default True
28122813 Use \multicolumn to enhance MultiIndex columns.
28132814 The default will be read from the config module.
2815+
28142816 .. versionadded:: 0.20.0
28152817 multicolumn_format : str, default 'l'
28162818 The alignment for multicolumns, similar to `column_format`
28172819 The default will be read from the config module.
2820+
28182821 .. versionadded:: 0.20.0
28192822 multirow : bool, default False
28202823 Use \multirow to enhance MultiIndex rows. Requires adding a
28212824 \usepackage{multirow} to your LaTeX preamble. Will print
28222825 centered labels (instead of top-aligned) across the contained
28232826 rows, separating groups via clines. The default will be read
28242827 from the pandas config module.
2828+
28252829 .. versionadded:: 0.20.0
28262830
28272831 Returns
@@ -4948,11 +4952,15 @@ def pipe(self, func, *args, **kwargs):
49484952
49494953 Returns
49504954 -------
4951- DataFrame, Series or scalar
4952- If DataFrame.agg is called with a single function, returns a Series
4953- If DataFrame.agg is called with several functions, returns a DataFrame
4954- If Series.agg is called with single function, returns a scalar
4955- If Series.agg is called with several functions, returns a Series.
4955+ scalar, Series or DataFrame
4956+
4957+ The return can be:
4958+
4959+ * scalar : when Series.agg is called with single function
4960+ * Series : when DataFrame.agg is called with a single function
4961+ * DataFrame : when DataFrame.agg is called with several functions
4962+
4963+ Return scalar, Series or DataFrame.
49564964
49574965 %(see_also)s
49584966
@@ -6879,11 +6887,15 @@ def asof(self, where, subset=None):
68796887 -------
68806888 scalar, Series, or DataFrame
68816889
6882- Scalar : when `self` is a Series and `where` is a scalar.
6883- Series: when `self` is a Series and `where` is an array-like,
6884- or when `self` is a DataFrame and `where` is a scalar.
6885- DataFrame : when `self` is a DataFrame and `where` is an
6886- array-like.
6890+ The return can be:
6891+
6892+ * scalar : when `self` is a Series and `where` is a scalar
6893+ * Series: when `self` is a Series and `where` is an array-like,
6894+ or when `self` is a DataFrame and `where` is a scalar
6895+ * DataFrame : when `self` is a DataFrame and `where` is an
6896+ array-like
6897+
6898+ Return scalar, Series, or DataFrame.
68876899
68886900 See Also
68896901 --------
0 commit comments