import pandas as pd
import requests
c = pd.read_csv(“https://raw.githubusercontent.com/cs109/2014_data/master/countries.csv”)
print(c)
I am trying to use the following code to read a csv file but am getting an SSL error on PyCharm. How would I fix this? I have tried the following code but then get an error because read_csv got an unexpected error.
import pandas as pd
import requests
c = pd.read_csv(“https://raw.githubusercontent.com/cs109/2014_data/master/countries.csv”, verify = False)
print(c)
Xane Hunter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.