You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
set_stadata_coords种当len==1时的作用?为1为什么要再次做转换?运行astype(np.datetime64)总是报错Casting to unit-less dtype 'datetime64' is not supported. Pass e.g. 'datetime64[ns]' instead.
if len(sta.index) ==1:
sta["time"] = sta["time"].astype(np.datetime64)
The text was updated successfully, but these errors were encountered:
set_stadata_coords种当len==1时的作用?为1为什么要再次做转换?运行astype(np.datetime64)总是报错Casting to unit-less dtype 'datetime64' is not supported. Pass e.g. 'datetime64[ns]' instead.
if len(sta.index) ==1:
sta["time"] = sta["time"].astype(np.datetime64)
The text was updated successfully, but these errors were encountered: