在文档中说
<kendo-grid-column field="Status" title="Status" width="100">
<ng-template kendoGridCellTemplate let-dataItem>
{{ statusGrid(dataItem.Status)?.text }}
</ng-template>
<ng-template kendoGridEditTemplate
let-dataItem="dataItem"
let-formGroup="formGroup">
<kendo-dropdownlist
[data]="statusDropdown"
(valueChange)="onStatusChange($event, formGroup)"
textField="text"
valueField="value"
[valuePrimitive]="true"
[formControl]="formGroup.get('Status')">
<ng-template kendoDropDownListItemTemplate let-dataItem>
{{ dataItem.text }}
</ng-template>
</kendo-dropdownlist>
</ng-template>
</kendo-grid-column>
是一个选项。但是
df.rolling('2s').sum()
返回错误ts = ts.rolling('900s').mean()
这是怎么回事?无法共享整个时间序列,但这是一个片段:
ValueError: window must be an integer