关于数据类型

Python内建有六种数据类型:

  • number
  • string
  • tuple
  • list
  • set(这个暂时没遇到)
  • dictionary

Python除了内建数据类型,常用的科学计算包NumPy的数据类型有:

  • arrays
  • float
  • int
  • bool
  • timedelta64[ns]
  • datetime64[ns]
  • ...

详情见:https://numpy.org/devdocs/user/basics.types.html

原文地址:https://www.cnblogs.com/arrayblog/p/13768374.html