dask dataframe csv tutorial 1

dask dataframe csv tutorial

import dask.dataframe as dd
df = dd.read_csv('https://e-commerce-data.s3.amazonaws.com/E-commerce+Data+(1).csv', encoding = 'ISO-8859-1', blocksize=32e6)

Here is what the above code is Doing:
1. We’re importing the dask.dataframe library as dd.
2. We’re reading in the CSV file using the read_csv() method.
3. We’re specifying the encoding as ISO-8859-1.
4. We’re specifying the blocksize as 32e6.

Similar Posts