no series attribute python (-1, 1) code example Example: series has no attirubte reshape python Y.values.reshape(-1,1)