I get an error: Traceback (most recent call last): File "color.py", line 21, in <module> cb = m.pcolor(x, y, data[codg_tec] , shading='flat', cmap=plt.cm.jet) IndexError: arrays used as indices must be of integer (or boolean) type when ...
Home/indexerror
ITtutoria Latest Questions
Tiago Charpentier
Asked: May 12, 2022In: python
For the “indexerror: single positional indexer is out-of-bounds” problem. I tried to fix it, but It doesn’t work and returns the result I want. Here is my program: import numpy as np import pandas as pd import ...