twinlab.load_example_dataset#

twinlab.load_example_dataset(dataset_id, verbose=False)[source]#

Load an example dataset from the twinLab cloud into the current session.

Parameters:
  • dataset_id (str) – The name of the dataset to load.

  • verbose (bool, optional) – Display information about the operation while running.

Returns:

The example dataset.

Return type:

pandas.DataFrame

Example

tl.load_example_dataset("quickstart")
          x         y
0  0.696469 -0.817374
1  0.286139  0.887656
2  0.226851  0.921553
3  0.551315 -0.326334
4  0.719469 -0.832518
5  0.423106  0.400669
6  0.980764 -0.164966
7  0.684830 -0.960764
8  0.480932  0.340115
9  0.392118  0.845795