pandas.io.formats.style.Styler.hide_columns

Styler.hide_columns(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