How to determine if a number is any type of int (core or numpy, signed or not)?

后端 未结 0 1674
太阳男子
太阳男子 2020-12-23 06:47

I need to test whether a variable is of type int, or any of np.int*, np.uint*, preferably using a single condition (i.e. no <

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