I would like to have the 3 columns of a numpy array
px[:,:,0]
px[:,:,1]
px[:,:,0]
into a pandas Dataframe.
Should I use?
df = pd.DataFrame(px, columns=['R', 'G', 'B'])
Thank you
Hugo
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…