Is there a function similar to display that downloads a dataframe?

jonathan-dufaul
Valued Contributor

I find myself constantly having to do display(df), and then "recompute with <5g records and download). I was just hoping I could skip the middleman and download from get go.

ideally it'd be a function like download(df,num_rows="max") where num_rows is either a number or the maximum (<5gb)