nxcals.api.extraction.data.builders.DataFrame.checkpoint
- DataFrame.checkpoint(eager: bool = True) DataFrame
Returns a checkpointed version of this
DataFrame
. Checkpointing can be used to truncate the logical plan of thisDataFrame
, which is especially useful in iterative algorithms where the plan may grow exponentially. It will be saved to files inside the checkpoint directory set withSparkContext.setCheckpointDir()
.New in version 2.1.0.
- Parameters:
eager (bool, optional) – Whether to checkpoint this
DataFrame
immediately
Notes
This API is experimental.