I am using pandas
to load csv files containing questions/answers and assigning them to dict.
kids_csv_file = pd.read_csv(...) #columns Questions, SubQuestions, Answers
questions_dict = dict()
for i in ... :
_key = kids_csv_file.Questions[i] + '-' + kids_csv_file.SubQuestion[i]
questions_dict[_key] = kids_csv_file.Answers[i];
I am getting:
TypeError: must be str, not numpy.int64