AttributeError: 'Series' object has no attribute 'value' code example Example: AttributeError: 'Series' object has no attribute 'toarray' df[i].values.tolist()