Have collected the data and organized it like this:
One observation is organized into one dataframe
One dataframe is made up of 100 rows, in sequential order.
One row has 6 features and 1 label
How would I reshape this for a LSTM model... ?
my observation
idx prod period qty label
0 Customer10 FG1 2483 200.000000 'A'
1 Customer11 FG2 2484 220.000000 'B'
2 Customer12 FG3 2485 240.000000 'C'
3 Customer13 FG1 2485 240.000000 'C'
...
100 Customer99 FG1 2485 240.000000 'A'
question from:https://stackoverflow.com/questions/65651282/dataframe-reshape-for-input-into-a-lstm-model