ValueError: Shape of passed values is (1, 6), indices imply (6, 6)
ValueError: Shape of passed values is (1, 6), indices imply (6, 6)
I am passing a list from flask function to another function, and getting this value error. My code at sending end: @app.route('/process', methods=['POST']) def process(): name = request.form[...
stackoverflow.com
앞에 label encoding이랑 Onehot encoding값이 중복되어서 항목의 개수가 일치하지 않는다고 뜬 것