使用seaborn函数的barplot模块以及pointplot模块报错,,如何解决?
使用seaborn函数的barplot模块报错,如何解决?
错误显示:TypeError: Cannot cast array data from dtype(‘int64’) to dtype(‘int32’) according to the rule ‘safe’
32位无法转化为64位。
如何查看你的python是32位还是64位?
在cmd窗口,输入python,即可查看。
解决办法:出现以上错误,是因为你的python版本是32位,将python重装为64位即可。

相关文章:

  • 2022-12-23
  • 2021-09-14
  • 2021-07-01
  • 2021-09-04
  • 2023-03-16
  • 2021-09-15
  • 2021-08-09
猜你喜欢
  • 2021-12-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-06
  • 2021-12-11
相关资源
相似解决方案