pandas.io.formats.style.Styler.hide_columns

Styler.hide_columns(self, subset)[source]

Hide columns from rendering.

New in version 0.23.0.

Parameters
subsetIndexSlice

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

Returns
selfStyler