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


##########
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 @Pushkar3119 did you have a chance to look at this?



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