We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5dbae2a commit 527d6f9Copy full SHA for 527d6f9
ahead/utils/univariate.py
@@ -10,6 +10,7 @@
10
from rpy2.robjects.vectors import StrVector
11
from .unimultivariate import get_frequency
12
13
+base = importr("base")
14
stats = importr("stats")
15
16
@@ -20,10 +21,9 @@ def compute_y_ts(df, df_frequency):
20
21
ts = stats.ts(
22
FloatVector(input_series.flatten()),
23
frequency=get_frequency(df_frequency),
24
+ names = StrVector(df.columns.tolist())
25
)
26
- ts.colnames = StrVector(df.columns.tolist())
-
27
return ts
28
29
0 commit comments