Skip to content

Commit

Permalink
fixup: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mravi committed Dec 24, 2024
1 parent bdc8393 commit 20beb35
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -423,8 +423,7 @@ def _display_dataframe(self, data, update=None):
with warnings.catch_warnings():
warnings.filterwarnings(
"ignore", message=".*DataFrame.applymap has been deprecated.*")
rows = data.applymap(lambda x: str(x)).to_dict('split')['data']

rows = data.applymap(lambda x: str(x)).to_dict('split')['data']
# Convert each row into dict where keys are column index in the datatable
# to be rendered and values are data from the dataframe. Column index 0 is
# left out to hold the int index (not part of the data) from dataframe.
Expand Down

0 comments on commit 20beb35

Please sign in to comment.