def hide_columns(self, subset):
    '\n        Hide columns from rendering.\n\n        .. versionadded:: 0.23.0\n\n        Parameters\n        ----------\n        subset : IndexSlice\n            An argument to ``DataFrame.loc`` that identifies which columns\n            are hidden.\n\n        Returns\n        -------\n        self : Styler\n        '
    subset = _non_reducing_slice(subset)
    hidden_df = self.data.loc[subset]
    self.hidden_columns = self.columns.get_indexer_for(hidden_df.columns)
    return self
Hide columns from rendering.

.. versionadded:: 0.23.0

Parameters
----------
subset : IndexSlice
    An argument to ``DataFrame.loc`` that identifies which columns
    are hidden.

Returns
-------
self : Styler
def hide_columns(self, subset):
    '\n        Hide columns from rendering.\n\n        .. versionadded:: 0.23.0\n\n        Parameters\n        ----------\n        subset : IndexSlice\n            An argument to ``DataFrame.loc`` that identifies which columns\n            are hidden.\n\n        Returns\n        -------\n        self : Styler\n        '
    subset = _non_reducing_slice(subset)
    hidden_df = self.data.loc[subset]
    self.hidden_columns = self.columns.get_indexer_for(hidden_df.columns)
    return self