I have this data from a .gov site:
import pandas as pd
import io
import requests
url="https://download.bls.gov/pub/time.series/la/la.data.64.County"
s=requests.get(url).content
c=pd.read_csv(io.StringIO(s.decode('utf-8')))
The number of rows is 4942096. I want to get all these into multiple csv files.
I know how to get the first million as so:
c.to_csv('nick.csv', index = False, chunksize = 1000000)
How do I get the rest?