Using sp.ndimage.label on Xarray DataArray with apply_ufunc

前端 未结 0 673
谎友^
谎友^ 2020-12-05 06:19

Lets say I have the simple array:

data = [1,1,0,0,1,1,1]

I can apply labeling to this data with the scipy ndimage module with:



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题