-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
API/DEPR: Rename DataFrame.applymap to DataFrame.map #52364
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
Changes from all commits
1ef894f
6427c91
63d7663
08d4425
0cdbfc3
1e5b5c5
69f7c08
e1c30b8
8bad43b
7635550
603cb74
6ef09ae
164bae7
0294062
ce0f2f0
3994376
390ac79
c1d0b50
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -352,7 +352,7 @@ | |
"\n", | ||
"- Using [.set_table_styles()][table] to control broader areas of the table with specified internal CSS. Although table styles allow the flexibility to add CSS selectors and properties controlling all individual parts of the table, they are unwieldy for individual cell specifications. Also, note that table styles cannot be exported to Excel. \n", | ||
"- Using [.set_td_classes()][td_class] to directly link either external CSS classes to your data cells or link the internal CSS classes created by [.set_table_styles()][table]. See [here](#Setting-Classes-and-Linking-to-External-CSS). These cannot be used on column header rows or indexes, and also won't export to Excel. \n", | ||
"- Using the [.apply()][apply] and [.applymap()][applymap] functions to add direct internal CSS to specific data cells. See [here](#Styler-Functions). As of v1.4.0 there are also methods that work directly on column header rows or indexes; [.apply_index()][applyindex] and [.applymap_index()][applymapindex]. Note that only these methods add styles that will export to Excel. These methods work in a similar way to [DataFrame.apply()][dfapply] and [DataFrame.applymap()][dfapplymap].\n", | ||
"- Using the [.apply()][apply] and [.applymap()][applymap] functions to add direct internal CSS to specific data cells. See [here](#Styler-Functions). As of v1.4.0 there are also methods that work directly on column header rows or indexes; [.apply_index()][applyindex] and [.applymap_index()][applymapindex]. Note that only these methods add styles that will export to Excel. These methods work in a similar way to [DataFrame.apply()][dfapply] and [DataFrame.map()][dfmap].\n", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If we are changing There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That's a logical next step and @attack68 has proposed in #52353 (comment) to takie on |
||
"\n", | ||
"[table]: ../reference/api/pandas.io.formats.style.Styler.set_table_styles.rst\n", | ||
"[styler]: ../reference/api/pandas.io.formats.style.Styler.rst\n", | ||
|
@@ -362,7 +362,7 @@ | |
"[applyindex]: ../reference/api/pandas.io.formats.style.Styler.apply_index.rst\n", | ||
"[applymapindex]: ../reference/api/pandas.io.formats.style.Styler.applymap_index.rst\n", | ||
"[dfapply]: ../reference/api/pandas.DataFrame.apply.rst\n", | ||
"[dfapplymap]: ../reference/api/pandas.DataFrame.applymap.rst" | ||
"[dfmap]: ../reference/api/pandas.DataFrame.map.rst" | ||
] | ||
}, | ||
{ | ||
|
Uh oh!
There was an error while loading. Please reload this page.