Built-in datasets¶
plotjs has a few datasets that you can load easily:
- iris
- mtcars
- titanic
Load the iris dataset.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
output_format
|
str
|
The output format of the dataframe. Note that, for example,
if you set |
'pandas'
|
Returns:
| Type | Description |
|---|---|
Frame
|
The iris dataset. |
Examples:
Load the mtcars dataset.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
output_format
|
str
|
The output format of the dataframe. Note that, for example,
if you set |
'pandas'
|
Returns:
| Type | Description |
|---|---|
Frame
|
The mtcars dataset. |
Examples:
Load the titanic dataset.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
output_format
|
str
|
The output format of the dataframe. Note that, for example,
if you set |
'pandas'
|
Returns:
| Type | Description |
|---|---|
Frame
|
The titanic dataset. |
Examples: