0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

エラー特集

0
Posted at

TypeError: "float" object cannot be interpreted as an integer

  • 意味
    • floatはintとして受け取れない
  • 対処
    • float型で記載した部分をint型で記載する
  • 問題のコード
     bin_width = range(0,1.0,10)
    
  • 正しいコード
bin_width = range(0,1,10)

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?