Valid generic code to index 2D or 1D masked arrays into 1D arrays in Numpy

后端 未结 0 1766
执念已碎
执念已碎 2021-01-12 16:53

I would like to have a valid code for either 2D or 1D masked array to extract a 1D array from it. In the 2D case, one column would be entirely masked and should be removed (

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