Mar-28-2023, 01:16 PM
Hi Guys,
I have been using pandas for a while now to extract tables from the web. I used this simple bit of code here and ran into all sorts of problems!
Can anybody please let me know what I am doing wrong?
thanks
I have been using pandas for a while now to extract tables from the web. I used this simple bit of code here and ran into all sorts of problems!
import pandas as pd import requests url='https://free-proxy-list.net/' response = requests.get(url) html = response.content df = pd.read_html(html, match='IP Address')The output was fine as seen below - but if you look at my subsequent commands I simply cannot understand the errors since I have used these on numerous occasions with tables extracted using pandas.
Can anybody please let me know what I am doing wrong?
thanks