I am quite new to Numpy and Python.
Two different shapes for an input array, it's either
- 24, 18, 2431
- 9, 17, 2431
How can I convert to a Pandas data frame without using Panel (It's removed from Pandas 0.25.0). The output should look something like
index | A | B | C
0 | A_value | B_value | C_value
1 | A_value | B_value | C_value
2 | A_value | B_value | C_value
3 | A_value | B_value | C_value
4 | A_value | B_value | C_value
(A, B, C)supposed to be a shape? Because then your dataframe doesn't make sense, having dimension (sizes) as column header and values.