I'm trying to read a large (~850 mb) .csv file from an URL.
The thing is that the .csv file is within a .zip file that also contains a .pdf file, so when I try to read it in pandas:
df = pd.read_csv('link', encoding='latin1', sep=';')
It doesn't work because it states:
ValueError: Multiple files found in ZIP file. Only one file per ZIP: ['LEIAME.pdf', 'perfil_eleitorado_2018.csv']
I'm working with a collaborative notebook, so the best solution would be just to open the .zip file directly from the link or to upload the .csv file somewhere that won't ask for permissions, log-ins, or anything like that to open it directly in the notebook.
Obs: This is just one of the large .csv databases I'm working with, there are others with similar sizes, or even slightly bigger.