WulfH commented on issue #21093:
URL: https://github.com/apache/superset/issues/21093#issuecomment-1699328601

   The fix is probably very simple. In superset\viz.py in this line 
https://github.com/apache/superset/blob/46a0a6e08af1b66bb617d5ebe1324b77251aee15/superset/viz.py#L232
   the nan values should be replaced with 0. 
   `df = df.fillna(0).cumsum()`
   
   I can't easily test it, but the behavior is well documented: 
https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.cumsum.html


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to