Pushkar3119 commented on code in PR #33532:
URL: https://github.com/apache/beam/pull/33532#discussion_r2000369180
##########
sdks/python/apache_beam/runners/interactive/display/pcoll_visualization.py:
##########
@@ -420,7 +420,7 @@ def _display_dataframe(self, data, update=None):
format_window_info_in_dataframe(data)
# Convert the dataframe into rows, each row looks like
# [column_1_val, column_2_val, ...].
- rows = data.applymap(lambda x: str(x)).to_dict('split')['data']
+ rows = data.apply(lambda col: col.map(lambda x:
str(x))).to_dict('split')['data']
Review Comment:
Hi @damccorm, thanks for the feedback! I’ll run the linter and formatter and
update the PR accordingly. I’ll get back to you soon.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]