Skip to content

Instantly share code, notes, and snippets.

@dipta007
Created June 7, 2020 13:44
Show Gist options
  • Select an option

  • Save dipta007/f1d79e9bd56f3aca5a81d01b8627b9c3 to your computer and use it in GitHub Desktop.

Select an option

Save dipta007/f1d79e9bd56f3aca5a81d01b8627b9c3 to your computer and use it in GitHub Desktop.
def get_all(*args, chunksize):
pds = []
args = args[0]
for arg in args:
pds.append(pd.read_csv(f'{BASE_PATH}/{arg}', chunksize=chunksize))
return pds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment