iloc giving 'IndexError: single positional indexer is out-of-bounds'

后端 未结 3 1104
清酒与你
清酒与你 2020-12-03 00:20

I am trying to encode some information to read into a Machine Learning model using the following

import numpy as np
import pandas as pd
import matplotlib.py         


        
3条回答
  •  南笙
    南笙 (楼主)
    2020-12-03 01:01

    Lenghten your CSV file: add more rows and columns. It was not working for me when file was small. I lenghtened and now it worked.

提交回复
热议问题