twinlab.Dataset.view#

Dataset.view(verbose=False)[source]#

View (and download) a dataset that exists on the twinLab cloud.

Parameters:

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

Returns:

A pandas.DataFrame containing the requested dataset.

Return type:

pandas.Dataframe

Example

dataset = tl.Dataset("quickstart")
dataset.view()
          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