module object has no attribute converters
I get this error after loading the rforecast package `
import rforecast data = [509, 506, 340, 240, 219, 172, 252, 221, 276, 271, 342, 428, 442, 432, 437] rforecast.converters.sequence_as_series(data, start=1980) Traceback (most recent call last): File "
", line 1, in AttributeError: 'module' object has no attribute 'converters' `
How do I correct it?
aksa, I'm not going to be able to get to this until tomorrow.
aksa
Sorry for the late response. It looks like you are calling rforecast.converters after importing rforecast, but not the rforecast.converters sub-package. That is, the import you need is:
import rforecast, rforecast.converters
Importing the package doesn't import its sub-packages (although I should probably move everything up into the top-level rforecast package).