ValueError: length not known: Elemwise

Thank you so much. I got the same error and worked for me. Is it advisable to use np.arrays, instead of pd.dataframe when we input x’s, y’s in the model? Thanks.