damccorm commented on code in PR #33532:
URL: https://github.com/apache/beam/pull/33532#discussion_r1913845826


##########
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:
   Hey, this change looks good, but it looks like it breaks our formatting. 
Would you mind running the linter and formatter? 
https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=95653376#PythonTips-LintandFormattingChecks



-- 
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]

Reply via email to