8000 API: `Styler.hide_columns` replaced by `.hide_values` which also operates row-wise by attack68 · Pull Request #41158 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

API: Styler.hide_columns replaced by .hide_values which also operates row-wise #41158

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 9 commits into from
Prev Previous commit
Next Next commit
mypy error: Slice index must be an integer or None
  • Loading branch information
attack68 committed Apr 26, 2021
commit 654015ec0b4edb0b8a529de95d86d9dea26a928a
4 changes: 2 additions & 2 deletions pandas/tests/io/formats/style/test_style.py
Original file line number Diff line number Diff line change
Expand Up @@ -1426,7 +1426,7 @@ def test_non_reducing_multi_slice_on_multiindex(self, slice_):
np.array(["i1", "i2"]),
pd.Index(["i1", "i2"]),
["i1", "i2"],
pd.IndexSlice["i1":"i2"],
pd.IndexSlice["i1":"i2"], # type: ignore[misc]
],
)
def test_hide_values_index(self, subset):
Expand Down Expand Up @@ -1469,7 +1469,7 @@ def test_hide_values_index(self, subset):
np.array(["c1", "c2"]),
pd.Index(["c1", "c2"]),
["c1", "c2"],
pd.IndexSlice["c1":"c2"],
pd.IndexSlice["c1":"c2"], # type: ignore[misc]
],
)
def test_hide_values_columns(self, subset):
Expand Down
0