Sci-kit Pipeline and GridsearchCV returns indexError: too many indices for array
It turns out that the Pandas dataframe is the wrong shape.

estimator.fit(train.values, train_labels[0].values)


works, although I also had to drop the penalty term.