data.item — get()
Description
The get() method of the item object retrieves a dataset stored in the notebook and makes it available for use in the sandbox.
Signature
data.item(key).get()Argument
key(string)- The name of the stored dataset to retrieve from the notebook.
Returns
dataset(any | null)- The previously stored value associated with the specified dataset name, or
nullif the dataset does not exist.
Example
// get a 'revenue' dataset
var revenue = data.item('revenue').get();
// create a dataFrame with the 'revenue' dataset
var df = new DataFrame(revenue);