Hola, no puedo cargar los datos de la api con json, me da error de request, por favor reevean el link de donde sacan los datos, porque no me deja exportarlo y no puedo seguir con el curso
nombre_m = pd.read_json("https://servicodados.ibge.gov.br/api/v2/censos/nomes/ranking/?sexo=M")
nombre_m
error -->
SSLError Traceback (most recent call last) /usr/lib/python3.10/urllib/request.py in do_open(self, http_class, req, **http_conn_args) 1347 try: -> 1348 h.request(req.get_method(), req.selector, req.data, headers, 1349 encode_chunked=req.has_header('Transfer-encoding'))
23 frames SSLError: [SSL: UNSAFE_LEGACY_RENEGOTIATION_DISABLED] unsafe legacy renegotiation disabled (_ssl.c:1007)
During handling of the above exception, another exception occurred:
URLError Traceback (most recent call last) /usr/lib/python3.10/urllib/request.py in do_open(self, http_class, req, **http_conn_args) 1349 encode_chunked=req.has_header('Transfer-encoding')) 1350 except OSError as err: # timeout error -> 1351 raise URLError(err) 1352 r = h.getresponse() 1353 except:
URLError: <urlopen error [SSL: UNSAFE_LEGACY_RENEGOTIATION_DISABLED] unsafe legacy renegotiation disabled (_ssl.c:1007)>