Skip to content

Commit f012ee6

Browse files
Fix "pandas.Dataframe" to "pandas.DataFrame" in pygmt/datasets/samples.py (#1124)
Co-authored-by: Dongdong Tian <[email protected]>
1 parent 5a6e4df commit f012ee6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pygmt/datasets/samples.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
def load_japan_quakes():
99
"""
10-
Load a table of earthquakes around Japan as a pandas.Dataframe.
10+
Load a table of earthquakes around Japan as a pandas.DataFrame.
1111
1212
Data is from the NOAA NGDC database. This is the ``@tut_quakes.ngdc``
1313
dataset used in the GMT tutorials.
@@ -18,7 +18,7 @@ def load_japan_quakes():
1818
1919
Returns
2020
-------
21-
data : pandas.Dataframe
21+
data : pandas.DataFrame
2222
The data table. Columns are year, month, day, latitude, longitude,
2323
depth (in km), and magnitude of the earthquakes.
2424
"""
@@ -49,7 +49,7 @@ def load_ocean_ridge_points():
4949
5050
Returns
5151
-------
52-
data : pandas.Dataframe
52+
data : pandas.DataFrame
5353
The data table. Columns are longitude and latitude.
5454
"""
5555
fname = which("@ridge.txt", download="c")
@@ -72,7 +72,7 @@ def load_sample_bathymetry():
7272
7373
Returns
7474
-------
75-
data : pandas.Dataframe
75+
data : pandas.DataFrame
7676
The data table. Columns are longitude, latitude, and bathymetry.
7777
"""
7878
fname = which("@tut_ship.xyz", download="c")
@@ -84,7 +84,7 @@ def load_sample_bathymetry():
8484

8585
def load_usgs_quakes():
8686
"""
87-
Load a table of global earthquakes form the USGS as a pandas.Dataframe.
87+
Load a table of global earthquakes form the USGS as a pandas.DataFrame.
8888
8989
This is the ``@usgs_quakes_22.txt`` dataset used in the GMT tutorials.
9090
@@ -94,7 +94,7 @@ def load_usgs_quakes():
9494
9595
Returns
9696
-------
97-
data : pandas.Dataframe
97+
data : pandas.DataFrame
9898
The data table. Use ``print(data.describe())`` to see the available
9999
columns.
100100
"""

0 commit comments

Comments
 (0)