I'm try to construct a dataframe (I'm using Pandas library) from some arrays and one matrix.
in particular, if I have two array like this:
A=[A,B,C]
B=[D,E,F]
And one matrix like this :
1 2 2
3 3 3
4 4 4
Can i create a dataset like this?
A B C
D 1 2 2
E 3 3 3
F 4 4 4
Maybe is a stupid question, but i m very new with Python and Pandas.
I seen this :
https://pandas.pydata.org/pandas-docs/version/0.23.4/generated/pandas.DataFrame.html
but specify only 'colums'.
I should read the matrix row for row and paste in my dataset, but I m think that exist a more easy solution with Pandas.