I am trying to convert my output to a pandas data frame, and I'm afraid. I have this list
my_list = [1,2,3,4,5,6,7,8,9]
I want to create a pandas data frame that will have 3 columns and three rows. I'm trying to use
df = pd.DataFrame(my_list, columns = list("abc"))
but it doesn't seem to work for me. Any help would be appreciated.
source share