RamiNoodle733 opened a new pull request, #37731: URL: https://github.com/apache/superset/pull/37731
## Problem The histogram pandas postprocessing function was throwing a SettingWithCopyWarning in Superset 6.0.0rc4 logs when modifying DataFrame column values after dropping NA values. ## Solution Add an explicit `df.copy()` at the beginning of the function to ensure we're working with a copy of the DataFrame, preventing the SettingWithCopyWarning. ## Changes - Added explicit copy of DataFrame before modifications Fixes #36530 -- 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]
