pandas.io.formats.style.Styler.hide_columns

Styler.hide_columns(subset)[source]

Hide columns from rendering.

Parameters
subsetIndexSlice

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

Returns
selfStyler