TypeError: ‘Series’ objects are mutable, thus they cannot be hashed problemwith column
Your series contains other pd.Series objects. This is bad practice. In general, you should ensure your series is of a fixed type to enable you to perform manipulations without having to check for type explicitly. Your error is due to pd.Series objects not being hashable. One workaround is to use a function to convert pd.Series … Read more