diff --git a/pandas/core/frame.py b/pandas/core/frame.py index f700d4316842c..de06044785891 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -1428,7 +1428,10 @@ def to_latex(self, buf=None, columns=None, col_space=None, colSpace=None, if buf is None: return formatter.buf.getvalue() - + + def _repr_latex_(self): + return self.to_latex() + def info(self, verbose=None, buf=None, max_cols=None, memory_usage=None, null_counts=None): """ Concise summary of a DataFrame.