-
Hi guys, I have a question regarding triggering computations in Dask. Let's consider the following example. import dask.dataframe as pd
dd = pd.read_csv("file")
pdf1 = dd.head() # 1st case
pdf2 = dd.compute() # 2st case I understand when we call dd.compute() the reading of the whole dataset from a file is triggered. However, if we call dd.head(), whether the reading of the whole dataset from a file is triggered or only a subset of the data matching Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Answered by
YarShev
Aug 18, 2022
Replies: 1 comment 2 replies
Answer selected by
YarShev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
cc @martindurant, @jsignell