W3cubDocs

/pandas 0.25

pandas.io.formats.style.Styler.hide_columns

Styler.hide_columns(self, subset) [source]

Hide columns from rendering.

New in version 0.23.0.

Parameters:
subset : IndexSlice

An argument to DataFrame.loc that identifies which columns are hidden.

Returns:
self : Styler

© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.25.0/reference/api/pandas.io.formats.style.Styler.hide_columns.html