Problem with pyeviews
Posted: Fri May 21, 2021 10:29 am
Hi.
I have already updated to the latest version of python and pyeviews in Anaconda. I am using the standard version of Eviews12.
To create series in Python and take them to Eviews I use the following code (found in WHITEPAPER AS OF 7/22/2016 "pyeviews: Python + Eviews"
import numpy as np
import pandas as pa
dtsa = pa.date_range ('1998', periods = 3, freq = 'A')
benchmark = pa.Series ([4000., 4161.4, np.nan], index = dtsa, name = 'benchmark')
import pyeviews as evp
eviewsapp = evp.GetEViewsApp (instance = 'new', showwindow = True)
evp.PutPythonAsWF (benchmark, app = eviewsapp)
However, in the eviews workfile the benchmark series is created but the values are not being copied and they are blank in eviews workfile. Could you tell me what is the problem?
Thanks.
I have already updated to the latest version of python and pyeviews in Anaconda. I am using the standard version of Eviews12.
To create series in Python and take them to Eviews I use the following code (found in WHITEPAPER AS OF 7/22/2016 "pyeviews: Python + Eviews"
import numpy as np
import pandas as pa
dtsa = pa.date_range ('1998', periods = 3, freq = 'A')
benchmark = pa.Series ([4000., 4161.4, np.nan], index = dtsa, name = 'benchmark')
import pyeviews as evp
eviewsapp = evp.GetEViewsApp (instance = 'new', showwindow = True)
evp.PutPythonAsWF (benchmark, app = eviewsapp)
However, in the eviews workfile the benchmark series is created but the values are not being copied and they are blank in eviews workfile. Could you tell me what is the problem?
Thanks.