8000 API: make `hide_columns` and `hide_index` have a consistent signature and function in `Styler` by attack68 · Pull Request #41266 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

API: make hide_columns and hide_index have a consistent signature and function in Styler #41266

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

Merged
merged 33 commits into from
Jun 16, 2021
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
b0bfab7
ENH: make hide_index and hide_columns consistent in functionality
attack68 May 2, 2021
c615b08
DOC: improve specificity
attack68 May 2, 2021
38b7407
TST: add tests for hide_index(subset=)
attack68 May 2, 2021
40504db
TST: add tests for hide_columns(subset=None)
attack68 May 2, 2021
5199248
Merge remote-tracking branch 'upstream/master' into hiding_data_colum…
attack68 May 2, 2021
fc423dc
Merge remote-tracking branch 'upstream/master' into hiding_data_colum…
attack68 May 5, 2021
67598a4
remove show option
attack68 May 5, 2021
f05757a
remove show option
attack68 May 5, 2021
d870dc6
Merge remote-tracking branch 'upstream/master' into hiding_data_colum…
attack68 May 6, 2021
1dfad74
Merge remote-tracking branch 'upstream/master' into hiding_data_colum…
attack68 May 12, 2021
57aa0fc
type subset
attack68 May 12, 2021
0f05bc1
Merge remote-tracking branch 'upstream/master' into hiding_data_colum…
attack68 May 18, 2021
515707d
docstring for subset
attack68 May 20, 2021
fa8ecee
simpler examples
attack68 May 20, 2021
0704210
nomenclature: hide_columns_
attack68 May 20, 2021
cb58422
nomenclature: hide_index_
attack68 May 20, 2021
4d9626d
nomenclature: comments
attack68 May 20, 2021
461ad30
Merge remote-tracking branch 'upstream/master' into hiding_data_colum…
attack68 May 20, 2021
54bb183
Merge remote-tracking branch 'upstream/master' into hiding_data_colum…
attack68 May 22, 2021
c6c1086
merge upstream master
attack68 May 22, 2021
16a4da3
fix spelling
attack68 May 23, 2021
f890888
Merge remote-tracking branch 'upstream/master' into hiding_data_colum…
attack68 May 24, 2021
ec5817c
adjust to_lext components after recent merge
attack68 May 24, 2021
6da4e1f
Merge remote-tracking branch 'upstream/master' into hiding_data_colum…
attack68 May 26, 2021
35c6b65
Merge remote-tracking branch 'upstream/master' into hiding_data_colum…
attack68 May 29, 2021
7d55fc4
Merge remote-tracking branch 'upstream/master' into hiding_data_colum…
attack68 Jun 1, 2021
d51a3d7
Merge remote-tracking branch 'upstream/master' into hiding_data_colum…
attack68 Jun 3, 2021
8095415
Merge remote-tracking branch 'upstream/master' into hiding_data_colum…
attack68 Jun 5, 2021
0921804
merge upstream master
attack68 Jun 5, 2021
5e0cc0f
Merge remote-tracking branch 'upstream/master' into hiding_data_colum…
attack68 Jun 5, 2021
a6f811b
Merge remote-tracking branch 'upstream/master' into hiding_data_colum…
attack68 Jun 9, 2021
dca039d
Merge remote-tracking branch 'upstream/master' into hiding_data_colum…
attack68 Jun 11, 2021
b309358
Merge branch 'rls1.3.0' into hiding_data_columns_and_index
attack68 Jun 15, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
nomenclature: comments
  • Loading branch information
attack68 committed May 20, 2021
commit 4d9626d49528a53570a4dead20cd3bdc3d11b2e3
4 changes: 2 additions & 2 deletions pandas/io/formats/style_render.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ def __init__(
self.cell_ids = cell_ids

# add rendering variables
self.hide_index_: bool = False
self.hide_index_: bool = False # bools for hiding col/row headers
self.hide_columns_: bool = False
self.hidden_rows: Sequence[int] = []
self.hidden_rows: Sequence[int] = [] # sequence for specific hidden rows/cols
self.hidden_columns: Sequence[int] = []
self.ctx: DefaultDict[tuple[int, int], CSSList] = defaultdict(list)
self.cell_context: DefaultDict[tuple[int, int], str] = defaultdict(str)
Expand Down
0