Skip to content

ENH: Styler.format_index() to display index values similarly to data-values with format() #43101

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 38 commits into from
Sep 16, 2021
Merged
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
e03e014
build format_index mechanics
attack68 Aug 16, 2021
bb9b5b2
Merge remote-tracking branch 'upstream/master' into styler_format_index
attack68 Aug 17, 2021
fb86279
test index formatter display_value, and clearing
attack68 Aug 17, 2021
846e5a2
prelim doc string
attack68 Aug 17, 2021
7e9400a
format_index docs
attack68 Aug 18, 2021
9c63ab8
Merge remote-tracking branch 'upstream/master' into styler_format_index
attack68 Aug 19, 2021
87a6c88
refactor for perf
attack68 Aug 19, 2021
9c969ad
add test
attack68 Aug 20, 2021
26f3906
add tests: escape
attack68 Aug 21, 2021
ec40418
add tests: escape na_rep
attack68 Aug 21, 2021
0de5397
add tests: raises
attack68 Aug 21, 2021
6fe8285
test decimal and thousands
attack68 Aug 21, 2021
6b61e31
test precision
attack68 Aug 21, 2021
6eaa933
Merge remote-tracking branch 'upstream/master' into styler_format_index
attack68 Aug 30, 2021
666e460
whats new
attack68 Aug 30, 2021
49bb731
level tests
attack68 Aug 30, 2021
044cd05
user guide
attack68 Aug 30, 2021
8fc497d
typing fix
attack68 Aug 31, 2021
8fb9519
user guide refactor
attack68 Aug 31, 2021
d039105
Merge remote-tracking branch 'upstream/master' into styler_format_index
attack68 Sep 1, 2021
df7548c
input to axis
attack68 Sep 1, 2021
0d91aff
Merge remote-tracking branch 'upstream/master' into styler_format_index
attack68 Sep 2, 2021
e36f198
fix tests
attack68 Sep 2, 2021
b87ef09
Merge remote-tracking branch 'upstream/master' into styler_format_index
attack68 Sep 4, 2021
9a7a8e4
Merge remote-tracking branch 'upstream/master' into styler_format_index
attack68 Sep 5, 2021
ecd01dd
fix recent merged tests
attack68 Sep 5, 2021
1a32d17
Merge remote-tracking branch 'upstream/master' into styler_format_index
attack68 Sep 7, 2021
afa6da3
Merge remote-tracking branch 'upstream/master' into styler_format_index
attack68 Sep 8, 2021
7e6bf97
Merge remote-tracking branch 'upstream/master' into styler_format_index
attack68 Sep 8, 2021
06ce6bf
add to style.rst
attack68 Sep 8, 2021
b8c225a
Merge remote-tracking branch 'upstream/master' into styler_format_index
attack68 Sep 8, 2021
9562b3d
Merge remote-tracking branch 'upstream/master' into styler_format_index
attack68 Sep 9, 2021
4aa58e8
Merge remote-tracking branch 'upstream/master' into styler_format_index
attack68 Sep 9, 2021
f31763e
Merge remote-tracking branch 'upstream/master' into styler_format_index
attack68 Sep 10, 2021
4c6580f
Merge remote-tracking branch 'upstream/master' into styler_format_index
attack68 Sep 10, 2021
3487845
Merge remote-tracking branch 'upstream/master' into styler_format_index
attack68 Sep 12, 2021
3569a2f
Merge remote-tracking branch 'upstream/master' into styler_format_index
attack68 Sep 13, 2021
e1220ec
Merge remote-tracking branch 'upstream/master' into styler_format_index
attack68 Sep 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
Merge remote-tracking branch 'upstream/master' into styler_format_index
# Conflicts:
#	pandas/io/formats/templates/html_table.tpl
  • Loading branch information
attack68 committed Aug 19, 2021
commit 9c63ab865959624035aa83b2a718aa2bc851d892
2 changes: 1 addition & 1 deletion pandas/io/formats/templates/html_table.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
{% else %}
{% for c in r %}
{% if c.is_visible != False %}
<{{c.type}} {%- if c.id is defined %} id="T_{{uuid}}{{c.id}}" {%- endif %} class="{{c.class}}" {{c.attributes}}>{{c.display_value}}</{{c.type}}>
<{{c.type}} {%- if c.id is defined %} id="T_{{uuid}}_{{c.id}}" {%- endif %} class="{{c.class}}" {{c.attributes}}>{{c.display_value}}</{{c.type}}>
{% endif %}
{% endfor %}
{% endif %}
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.