Add case where 'axis' is a numpy scalar array
If the 'axis' variable is a numpy scalar array (like numpy.array(1)), these conditional branches will fail as it tries to build a set over the non-iterable array. I've added another branch to handle this case.
正在显示
请
注册
或者
登录
后发表评论