If I remove the highlighted code to main module, will performance improve?. Because every time user select ‘work_week’, it groups then filter work_week. I am thinking to move groupby outside, so that callback no need to groupby… everytime.
I am connecting to Snowflake DWH. Currently data frame is under 50000 records… expecting to reach 1 million records. in next 6 months… so moving to “main” will improve performance of call back?