DEPR: hide_index
and hide_columns
in favour of hide(axis=..)
?
#43758
Labels
Milestone
hide_index
and hide_columns
in favour of hide(axis=..)
?
#43758
Is your feature request related to a problem?
When Styler was developed it had
hide_index
, which hid the whole index, andhide_columns
, which performed a separate function of hiding specific columns of data whilst still showing the column headers.After extending the functions in 1.3.0, 1.4.0, both methods now have the same signature and function. They can hide the display of the indexes, or hide specific rows or columns of data, or hide specific levels in a multiindex.
Describe the solution you'd like
Should we deprecate both of these methods and wrap their function into a generic
Styler.hide(axis=.., *args)
?Seems to optimise code and probably user functionality.
This might also make it easier to add a
show()
method for styler similar tohead
andtail
for dataframes?The text was updated successfully, but these errors were encountered: