pandas.DataFrame.info

DataFrame.info(verbose=True, buf=None, max_cols=None)

Concise summary of a DataFrame, used in __repr__ when very large.

verbose : boolean, default True
If False, don’t print column count summary

buf : writable buffer, defaults to sys.stdout max_cols : int, default None

Determines whether full summary or short summary is printed