indexがintじゃなくてfloatになってるときに出るエラーみたいです.
つまり,data[2]とするべき部分がdata[2.0]になってる感じです.
More than 5 years have passed since last update.
VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
Posted at
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
List of users who liked
00