andy-clapson commented on code in PR #29898:
URL: https://github.com/apache/superset/pull/29898#discussion_r1719895205


##########
superset/charts/post_processing.py:
##########
@@ -150,6 +151,8 @@ def pivot_df(  # pylint: disable=too-many-locals, 
too-many-arguments, too-many-s
     if show_rows_total:
         # add subtotal for each group and overall total; we start from the
         # overall group, and iterate deeper into subgroups
+        # Ensure "NULL" strings are replaced with NaN
+        df.replace("NULL", np.nan, inplace=True)

Review Comment:
   lol, Bobby Tables.
   Are you suggesting this chart has a user-defined option to fill nulls with 
<something>? or maybe a drop-down of some value?



-- 
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: notifications-unsubscr...@superset.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to