dataset[i][j]
is a 100x30 matrix.
And I want to convert to a list using list comprehension.
I tried
train_dataset = [dataset[i][j] for i,j in [range(30), range(100)]]
but there was an error : ValueError: too many values to unpack (expected 2)
How could I assign the conversion, so len(train_dataset)=3000
?