EN EL SIGUIENTE CODIGO df_html = pd.read_html('https://www.federalreserve.gov/releases/h3/current/default.htm') df_html[0]
ME SALE EL SIGUIENTE ERROR HTTPError Traceback (most recent call last) in <cell line: 1>() ----> 1 df_html=pd.read_html('https://www.federalreserve.gov/releases/h3/current/default.htm')
12 frames /usr/lib/python3.10/urllib/request.py in http_error_default(self, req, fp, code, msg, hdrs) 641 class HTTPDefaultErrorHandler(BaseHandler): 642 def http_error_default(self, req, fp, code, msg, hdrs): --> 643 raise HTTPError(req.full_url, code, msg, hdrs, fp) 644 645 class HTTPRedirectHandler(BaseHandler):
HTTPError: HTTP Error 403: Forbidden
CUAL ES LA SOLUCION