Skip to content

error in scatter when using a data frame from R

It gives the following error when trying to pass a dataframe from R to do the scatter:

Error in py_call_impl(callable, dots$args, dots$keywords) : 
  AttributeError: 'dict' object has no attribute 'groupby'

Detailed traceback: 
  File "build/bdist.linux-x86_64/egg/mapgenerator/plotting/plotmap.py", line 850, in plot
    scatter_data = DataFrameHandler(self.scatter).filter()
  File "build/bdist.linux-x86_64/egg/mapgenerator/plotting/definitions.py", line 503, in filter
    gdf = self.reader.groupby(datecol)