AndLLA opened a new issue #7966: Time-series Period Pivot - DateOffset objects 
are immutable
URL: https://github.com/apache/incubator-superset/issues/7966
 
 
   Time-series Period from trunk is no more functional (used to work a couple 
of weeks ago),
   The chart fails with the stack trace below.
   
   
   Traceback (most recent call last):
     File 
"/home/superset/venvSS/lib/python3.6/site-packages/superset/views/base.py", 
line 121, in wraps
       return f(self, *args, **kwargs)
     File 
"/home/superset/venvSS/lib/python3.6/site-packages/superset/utils/decorators.py",
 line 70, in wrapper
       return f(*args, **kwargs)
     File 
"/home/superset/venvSS/lib/python3.6/site-packages/superset/views/core.py", 
line 1119, in explore_json
       viz_obj, csv=csv, query=query, results=results, samples=samples
     File 
"/home/superset/venvSS/lib/python3.6/site-packages/superset/views/core.py", 
line 1046, in generate_json
       payload = viz_obj.get_payload()
     File "/home/superset/venvSS/lib/python3.6/site-packages/superset/viz.py", 
line 379, in get_payload
       payload["data"] = self.get_data(df)
     File "/home/superset/venvSS/lib/python3.6/site-packages/superset/viz.py", 
line 1401, in get_data
       freq.normalize = True
     File "pandas/_libs/tslibs/offsets.pyx", line 332, in 
pandas._libs.tslibs.offsets._BaseOffset.__setattr__
   **AttributeError: DateOffset objects are immutable.**
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to