pygmt.datasets.load_sample_dataframe

pygmt.datasets.load_sample_dataframe(name)[source]

Load an example dataset from the GMT server.

The data are downloaded to a cache directory (usually ~/.gmt/cache) the first time you invoke this function. Afterwards, it will load the data from the cache. So you’ll need an internet connection the first time around.

Parameters

name (str) – Name of the dataset to load.

Returns

output (pandas.DataFrame) – Tabular dataset.