7
7
8
8
def load_japan_quakes ():
9
9
"""
10
- Load a table of earthquakes around Japan as a pandas.Dataframe .
10
+ Load a table of earthquakes around Japan as a pandas.DataFrame .
11
11
12
12
Data is from the NOAA NGDC database. This is the ``@tut_quakes.ngdc``
13
13
dataset used in the GMT tutorials.
@@ -18,7 +18,7 @@ def load_japan_quakes():
18
18
19
19
Returns
20
20
-------
21
- data : pandas.Dataframe
21
+ data : pandas.DataFrame
22
22
The data table. Columns are year, month, day, latitude, longitude,
23
23
depth (in km), and magnitude of the earthquakes.
24
24
"""
@@ -49,7 +49,7 @@ def load_ocean_ridge_points():
49
49
50
50
Returns
51
51
-------
52
- data : pandas.Dataframe
52
+ data : pandas.DataFrame
53
53
The data table. Columns are longitude and latitude.
54
54
"""
55
55
fname = which ("@ridge.txt" , download = "c" )
@@ -72,7 +72,7 @@ def load_sample_bathymetry():
72
72
73
73
Returns
74
74
-------
75
- data : pandas.Dataframe
75
+ data : pandas.DataFrame
76
76
The data table. Columns are longitude, latitude, and bathymetry.
77
77
"""
78
78
fname = which ("@tut_ship.xyz" , download = "c" )
@@ -84,7 +84,7 @@ def load_sample_bathymetry():
84
84
85
85
def load_usgs_quakes ():
86
86
"""
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 .
88
88
89
89
This is the ``@usgs_quakes_22.txt`` dataset used in the GMT tutorials.
90
90
@@ -94,7 +94,7 @@ def load_usgs_quakes():
94
94
95
95
Returns
96
96
-------
97
- data : pandas.Dataframe
97
+ data : pandas.DataFrame
98
98
The data table. Use ``print(data.describe())`` to see the available
99
99
columns.
100
100
"""
0 commit comments