Skip to content

Commit

Permalink
Fix "pandas.Dataframe" to "pandas.DataFrame" in pygmt/datasets/sample…
Browse files Browse the repository at this point in the history
…s.py (GenericMappingTools#1124)

Co-authored-by: Dongdong Tian <[email protected]>
  • Loading branch information
MichaeINeumann and seisman committed Mar 25, 2021
1 parent 5a6e4df commit f012ee6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pygmt/datasets/samples.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

def load_japan_quakes():
"""
Load a table of earthquakes around Japan as a pandas.Dataframe.
Load a table of earthquakes around Japan as a pandas.DataFrame.
Data is from the NOAA NGDC database. This is the ``@tut_quakes.ngdc``
dataset used in the GMT tutorials.
Expand All @@ -18,7 +18,7 @@ def load_japan_quakes():
Returns
-------
data : pandas.Dataframe
data : pandas.DataFrame
The data table. Columns are year, month, day, latitude, longitude,
depth (in km), and magnitude of the earthquakes.
"""
Expand Down Expand Up @@ -49,7 +49,7 @@ def load_ocean_ridge_points():
Returns
-------
data : pandas.Dataframe
data : pandas.DataFrame
The data table. Columns are longitude and latitude.
"""
fname = which("@ridge.txt", download="c")
Expand All @@ -72,7 +72,7 @@ def load_sample_bathymetry():
Returns
-------
data : pandas.Dataframe
data : pandas.DataFrame
The data table. Columns are longitude, latitude, and bathymetry.
"""
fname = which("@tut_ship.xyz", download="c")
Expand All @@ -84,7 +84,7 @@ def load_sample_bathymetry():

def load_usgs_quakes():
"""
Load a table of global earthquakes form the USGS as a pandas.Dataframe.
Load a table of global earthquakes form the USGS as a pandas.DataFrame.
This is the ``@usgs_quakes_22.txt`` dataset used in the GMT tutorials.
Expand All @@ -94,7 +94,7 @@ def load_usgs_quakes():
Returns
-------
data : pandas.Dataframe
data : pandas.DataFrame
The data table. Use ``print(data.describe())`` to see the available
columns.
"""
Expand Down

0 comments on commit f012ee6

Please sign in to comment.