Hi All,
I have some html data in the form of pandas Series.
For example I am storing this data in a variable-html_series
Now when I try to apply BeautifulSoup here as -
ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().
Can you please tell me what I am missing here?
Thanks!
I have some html data in the form of pandas Series.
For example I am storing this data in a variable-html_series
Now when I try to apply BeautifulSoup here as -
soup = BeautifulSoup(html_series, "html.parser") print(soup.prettify())I am getting below error-
ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().
Can you please tell me what I am missing here?
Thanks!