Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我希望从框架中提取一列作为 C# 中的新双精度数组。例如:
double[] values = myFrame.GetColumn<double>("myColumnName");
GetColumn 返回系列。您只需要获取系列值并将它们转换为数组。像这样的东西应该工作:
var arr = values.Values.ToArray();
或者
var arr = values.GetAllValues().ToArray();