mirror of
https://github.com/wassname/geopandas.git
synced 2026-09-11 12:10:59 +08:00
DOC: fix some sphinx warnings (underlines) (#2832)
This commit is contained in:
+3
-3
@@ -393,7 +393,7 @@ GeometryCollection
|
||||
features that have a z-component.
|
||||
|
||||
Notes
|
||||
------
|
||||
-----
|
||||
Every operation in GeoPandas is planar, i.e. the potential third
|
||||
dimension is not taken into account.
|
||||
|
||||
@@ -627,7 +627,7 @@ GeometryCollection
|
||||
Applies to GeoSeries containing only Polygons.
|
||||
|
||||
Returns
|
||||
----------
|
||||
-------
|
||||
inner_rings: Series of List
|
||||
Inner rings of each polygon in the GeoSeries.
|
||||
|
||||
@@ -2979,7 +2979,7 @@ GeometryCollection
|
||||
If False, the order of elements is preserved.
|
||||
|
||||
Returns
|
||||
----------
|
||||
-------
|
||||
spatial_relations: Series of strings
|
||||
The DE-9IM intersection matrices which describe
|
||||
the spatial relations of the other geometry.
|
||||
|
||||
@@ -1474,12 +1474,9 @@ individually so that features may have different properties
|
||||
-----
|
||||
The extra arguments ``*args`` and keyword arguments ``**kwargs`` are
|
||||
passed to DataFrame.merge.
|
||||
|
||||
Reference
|
||||
---------
|
||||
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas\
|
||||
.DataFrame.merge.html
|
||||
|
||||
See https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas\
|
||||
.DataFrame.merge.html
|
||||
for more details.
|
||||
"""
|
||||
result = DataFrame.merge(self, *args, **kwargs)
|
||||
geo_col = self._geometry_column_name
|
||||
@@ -2078,7 +2075,7 @@ individually so that features may have different properties
|
||||
Europe Austria AUT 416600.0
|
||||
|
||||
Notes
|
||||
------
|
||||
-----
|
||||
Every operation in GeoPandas is planar, i.e. the potential third
|
||||
dimension is not taken into account.
|
||||
|
||||
@@ -2345,7 +2342,7 @@ countries_w_city_data[countries_w_city_data["name_left"] == "Italy"]
|
||||
overlay : equivalent top-level function
|
||||
|
||||
Notes
|
||||
------
|
||||
-----
|
||||
Every operation in GeoPandas is planar, i.e. the potential third
|
||||
dimension is not taken into account.
|
||||
"""
|
||||
|
||||
+14
-14
@@ -527,20 +527,20 @@ def plot_dataframe(
|
||||
dataframe. Values are used to color the plot. Ignored if `color` is
|
||||
also set.
|
||||
kind: str
|
||||
The kind of plots to produce:
|
||||
- 'geo': Map (default)
|
||||
Pandas Kinds
|
||||
- 'line' : line plot
|
||||
- 'bar' : vertical bar plot
|
||||
- 'barh' : horizontal bar plot
|
||||
- 'hist' : histogram
|
||||
- 'box' : BoxPlot
|
||||
- 'kde' : Kernel Density Estimation plot
|
||||
- 'density' : same as 'kde'
|
||||
- 'area' : area plot
|
||||
- 'pie' : pie plot
|
||||
- 'scatter' : scatter plot
|
||||
- 'hexbin' : hexbin plot.
|
||||
The kind of plots to produce. The default is to create a map ("geo").
|
||||
Other supported kinds of plots from pandas:
|
||||
|
||||
- 'line' : line plot
|
||||
- 'bar' : vertical bar plot
|
||||
- 'barh' : horizontal bar plot
|
||||
- 'hist' : histogram
|
||||
- 'box' : BoxPlot
|
||||
- 'kde' : Kernel Density Estimation plot
|
||||
- 'density' : same as 'kde'
|
||||
- 'area' : area plot
|
||||
- 'pie' : pie plot
|
||||
- 'scatter' : scatter plot
|
||||
- 'hexbin' : hexbin plot.
|
||||
cmap : str (default None)
|
||||
The name of a colormap recognized by matplotlib.
|
||||
color : str, np.array, pd.Series (default None)
|
||||
|
||||
@@ -18,7 +18,7 @@ def _hilbert_distance(geoms, total_bounds=None, level=16):
|
||||
have coordinates in the range [0, 2^level - 1]).
|
||||
|
||||
Returns
|
||||
---------
|
||||
-------
|
||||
np.ndarray
|
||||
Array containing distances along the Hilbert curve
|
||||
|
||||
@@ -54,7 +54,7 @@ def _continuous_to_discrete_coords(bounds, level, total_bounds):
|
||||
total_bounds : Total bounds of geometries - array
|
||||
|
||||
Returns
|
||||
---------
|
||||
-------
|
||||
Discrete two-dimensional numpy array
|
||||
Two-dimensional array Array of hilbert distances for each geom
|
||||
|
||||
@@ -98,7 +98,7 @@ def _continuous_to_discrete(vals, val_range, n):
|
||||
n : Number of discrete values
|
||||
|
||||
Returns
|
||||
---------
|
||||
-------
|
||||
One-dimensional array of discrete ints
|
||||
|
||||
"""
|
||||
|
||||
@@ -227,7 +227,7 @@ def overlay(df1, df2, how="intersection", keep_geom_type=None, make_valid=True):
|
||||
GeoDataFrame.overlay : equivalent method
|
||||
|
||||
Notes
|
||||
------
|
||||
-----
|
||||
Every operation in GeoPandas is planar, i.e. the potential third
|
||||
dimension is not taken into account.
|
||||
"""
|
||||
|
||||
@@ -91,7 +91,7 @@ stria AUT 416600.0
|
||||
GeoDataFrame.sjoin : equivalent method
|
||||
|
||||
Notes
|
||||
------
|
||||
-----
|
||||
Every operation in GeoPandas is planar, i.e. the potential third
|
||||
dimension is not taken into account.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user