ValueError: Must pass 2-d input. shape=(15129, 10, 1)
I'm having a problem with reshaping a DataFrame, after doing this
train_dane_rnn = np.reshape(train_dane, (train_dane.shape[0], train_dane.shape[1], 1))
test_dane_rnn = np.reshape(test_dane, (test_dane.shape[0], test_dane.shape[1], 1))
I'm getting this error
ValueError: Must pass 2-d input. shape=(15129, 10, 1)
Topic reshape rnn neural-network python
Category Data Science