我正在尝试在我制作的一个简单的 pandas 数据框中提取特征(tsfresh.extract_features)。每次我运行和打印特征时,我只是将每个计算的特征作为 0 或 NaN。我已经尝试阅读了很多文档,但似乎无法理解它。
这是代码:
d = {'one':pd.Series(np.random.randn(10)),
'two':pd.Series(np.random.randn(10))}
df = pd.DataFrame(d)
print(df)
#
features = extract_features(df, column_id='one')
print(features)
任何帮助表示赞赏。
谢谢