Eng*_*tan 7 python python-xarray
当使用 Python 2.7 的 xarray 包时,是否可以像 pandas 那样对多个参数进行分组?本质上,像这样的操作:
data.groupby(['time.year','time.month']).mean()
Run Code Online (Sandbox Code Playgroud)
如果您想获取数据集每年和每月的平均值。
| 归档时间: |
|
| 查看次数: |
2673 次 |
| 最近记录: |