Retrieve Dataset

https://colab.research.google.com/assets/colab-badge.svg https://mybinder.org/badge_logo.svg
get_dataset(tableName)

Returns the entire dataset. It is not recommended to retrieve datasets with more than 1 million rows using this method. For large datasets, please use the Data Subset: Generic Space-Time Cut method and retrieve the data in smaller chunks. Note that this method does not return the dataset metadata. Use the Metadata method to get the dataset metadata.


Parameters:
tableName: string

The name of the table associated with the dataset. A full list of table names can be found in the Data Catalog or Datasets method.

Returns:

Pandas dataframe.


Example

#!pip install pycmap -q     #uncomment to install pycmap, if necessary

import pycmap

api = pycmap.API(token='<YOUR_API_KEY>')
api.get_dataset('tblMGL1704_Gradients2_IFCB_Abundance')