Quantcast
Viewing all articles
Browse latest Browse all 3

Answer by 0mm3 for Error when using Beautiful Soup in Python

For me, this issue was caused by having some samples containing no data at all in the review feature. You can change this and set the samples with no reviews to be blank by using the following:

train = train.fillna("")

Viewing all articles
Browse latest Browse all 3

Trending Articles