geopandas.
GeoDataFrame
A GeoDataFrame object is a pandas.DataFrame that has a column with geometry. In addition to the standard DataFrame constructor arguments, GeoDataFrame also accepts the following keyword arguments:
Coordinate Reference System of the geometry objects. Can be anything accepted by pyproj.CRS.from_user_input(), such as an authority string (eg “EPSG:4326”) or a WKT string.
pyproj.CRS.from_user_input()
If str, column to use as geometry. If array, will be set as ‘geometry’ column on GeoDataFrame.
Examples
Constructing GeoDataFrame from a dictionary.
>>> from shapely.geometry import Point >>> d = {'col1': ['name1', 'name2'], 'geometry': [Point(1,2), Point(2,1)]} >>> gdf = gpd.GeoDataFrame(d, crs="EPSG:4326") >>> gdf col1 geometry 0 name1 POINT (1.00000 2.00000) 1 name2 POINT (2.00000 1.00000)
Notice that the inferred dtype of ‘geometry’ columns is geometry.
>>> gdf.dtypes col1 object geometry geometry dtype: object
__init__
Initialize self. See help(type(self)) for accurate signature.
Methods
__init__(self, \*args, \*\*kwargs)
Initialize self.
abs(self)
abs
Return a Series/DataFrame with absolute numeric value of each element.
add(self, other[, axis, level, fill_value])
add
Get Addition of dataframe and other, element-wise (binary operator add).
add_prefix(self, prefix)
add_prefix
Prefix labels with string prefix.
add_suffix(self, suffix)
add_suffix
Suffix labels with string suffix.
affine_transform(self, matrix)
affine_transform
Return a GeoSeries with translated geometries.
GeoSeries
agg(self, func[, axis])
agg
Aggregate using one or more operations over the specified axis.
aggregate(self, func[, axis])
aggregate
align(self, other[, join, axis, level, …])
align
Align two objects on their axes with the specified join method.
all(self[, axis, bool_only, skipna, level])
all
Return whether all elements are True, potentially over an axis.
any(self[, axis, bool_only, skipna, level])
any
Return whether any element is True, potentially over an axis.
append(self, other[, ignore_index, …])
append
Append rows of other to the end of caller, returning a new object.
apply(self, func[, axis, raw, result_type, args])
apply
Apply a function along an axis of the DataFrame.
applymap(self, func)
applymap
Apply a function to a Dataframe elementwise.
asfreq(self, freq[, method, fill_value])
asfreq
Convert TimeSeries to specified frequency.
asof(self, where[, subset])
asof
Return the last row(s) without any NaNs before where.
assign(self, \*\*kwargs)
assign
Assign new columns to a DataFrame.
astype(self, dtype[, copy, errors])
astype
Cast a pandas object to a specified dtype dtype.
dtype
at_time(self, time, asof[, axis])
at_time
Select values at particular time of day (e.g.
between_time(self, start_time, end_time, …)
between_time
Select values between particular times of the day (e.g., 9:00-9:30 AM).
bfill(self[, axis, limit, downcast])
bfill
Synonym for DataFrame.fillna() with method='bfill'.
DataFrame.fillna()
method='bfill'
bool(self)
bool
Return the bool of a single element PandasObject.
boxplot(self[, column, by, ax, fontsize, …])
boxplot
Make a box plot from DataFrame columns.
buffer(self, distance[, resolution])
buffer
Returns a GeoSeries of geometries representing all points within a given distance of each geometric object.
clip(self[, lower, upper, axis])
clip
Trim values at input threshold(s).
combine(self, other, func[, fill_value, …])
combine
Perform column-wise combine with another DataFrame.
combine_first(self, other)
combine_first
Update null elements with value in the same location in other.
contains(self, other)
contains
Returns a Series of dtype('bool') with value True for each geometry that contains other.
Series
dtype('bool')
True
convert_dtypes(self, infer_objects, …)
convert_dtypes
Convert columns to best possible dtypes using dtypes supporting pd.NA.
pd.NA
copy(self, deep)
copy
Make a copy of this object’s indices and data.
corr(self[, method, min_periods])
corr
Compute pairwise correlation of columns, excluding NA/null values.
corrwith(self, other[, axis, drop, method])
corrwith
Compute pairwise correlation.
count(self[, axis, level, numeric_only])
count
Count non-NA cells for each column or row.
cov(self[, min_periods])
cov
Compute pairwise covariance of columns, excluding NA/null values.
covered_by(self, other)
covered_by
Returns a Series of dtype('bool') with value True for each geometry that is entirely covered by other.
covers(self, other)
covers
Returns a Series of dtype('bool') with value True for each geometry that is entirely covering other.
crosses(self, other)
crosses
Returns a Series of dtype('bool') with value True for each geometry that cross other.
cummax(self[, axis, skipna])
cummax
Return cumulative maximum over a DataFrame or Series axis.
cummin(self[, axis, skipna])
cummin
Return cumulative minimum over a DataFrame or Series axis.
cumprod(self[, axis, skipna])
cumprod
Return cumulative product over a DataFrame or Series axis.
cumsum(self[, axis, skipna])
cumsum
Return cumulative sum over a DataFrame or Series axis.
describe(self[, percentiles, include, exclude])
describe
Generate descriptive statistics.
diff(self[, periods, axis])
diff
First discrete difference of element.
difference(self, other)
difference
Returns a GeoSeries of the points in each geometry that are not in other.
disjoint(self, other)
disjoint
Returns a Series of dtype('bool') with value True for each geometry disjoint to other.
dissolve(self[, by, aggfunc, as_index])
dissolve
Dissolve geometries within groupby into single observation.
distance(self, other)
distance
Returns a Series containing the distance to other.
div(self, other[, axis, level, fill_value])
div
Get Floating division of dataframe and other, element-wise (binary operator truediv).
divide(self, other[, axis, level, fill_value])
divide
dot(self, other)
dot
Compute the matrix multiplication between the DataFrame and other.
drop(self[, labels, axis, index, columns, …])
drop
Drop specified labels from rows or columns.
drop_duplicates(self, subset, …)
drop_duplicates
Return DataFrame with duplicate rows removed.
droplevel(self, level[, axis])
droplevel
Return DataFrame with requested index / column level(s) removed.
dropna(self[, axis, how, thresh, subset, …])
dropna
Remove missing values.
duplicated(self, subset, Sequence[Hashable], …)
duplicated
Return boolean Series denoting duplicate rows.
eq(self, other[, axis, level])
eq
Get Equal to of dataframe and other, element-wise (binary operator eq).
equals(self, other)
equals
Test whether two objects contain the same elements.
eval(self, expr[, inplace])
eval
Evaluate a string describing operations on DataFrame columns.
ewm(self[, com, span, halflife, alpha, …])
ewm
Provide exponential weighted functions.
expanding(self[, min_periods, center, axis])
expanding
Provide expanding transformations.
explode(self)
explode
Explode muti-part geometries into multiple single geometries.
ffill(self[, axis, limit, downcast])
ffill
Synonym for DataFrame.fillna() with method='ffill'.
method='ffill'
fillna(self[, value, method, axis, inplace, …])
fillna
Fill NA/NaN values using the specified method.
filter(self[, items, axis])
filter
Subset the dataframe rows or columns according to the specified index labels.
first(self, offset)
first
Method to subset initial periods of time series data based on a date offset.
first_valid_index(self)
first_valid_index
Return index for first non-NA/null value.
floordiv(self, other[, axis, level, fill_value])
floordiv
Get Integer division of dataframe and other, element-wise (binary operator floordiv).
from_dict(data[, orient, dtype, columns])
from_dict
Construct DataFrame from dict of array-like or dicts.
from_features(features[, crs, columns])
from_features
Alternate constructor to create GeoDataFrame from an iterable of features or a feature collection.
from_file(filename, \*\*kwargs)
from_file
Alternate constructor to create a GeoDataFrame from a file.
from_postgis(sql, con[, geom_col, crs, …])
from_postgis
Alternate constructor to create a GeoDataFrame from a sql query containing a geometry column in WKB representation.
from_records(data[, index, exclude, …])
from_records
Convert structured or record ndarray to DataFrame.
ge(self, other[, axis, level])
ge
Get Greater than or equal to of dataframe and other, element-wise (binary operator ge).
geom_almost_equals(self, other[, decimal])
geom_almost_equals
Returns a Series of dtype('bool') with value True if each geometry is approximately equal to other.
geom_equals(self, other)
geom_equals
Returns a Series of dtype('bool') with value True for each geometry equal to other.
geom_equals_exact(self, other, tolerance)
geom_equals_exact
Return True for all geometries that equal other to a given tolerance, else False
get(self, key[, default])
get
Get item from object for given key (ex: DataFrame column).
groupby(self[, by, axis, level])
groupby
Group DataFrame using a mapper or by a Series of columns.
gt(self, other[, axis, level])
gt
Get Greater than of dataframe and other, element-wise (binary operator gt).
head(self, n)
head
Return the first n rows.
hist(data[, column, by, grid, xlabelsize, …])
hist
Make a histogram of the DataFrame’s.
idxmax(self[, axis, skipna])
idxmax
Return index of first occurrence of maximum over requested axis.
idxmin(self[, axis, skipna])
idxmin
Return index of first occurrence of minimum over requested axis.
infer_objects(self)
infer_objects
Attempt to infer better dtypes for object columns.
info(self[, verbose, buf, max_cols, …])
info
Print a concise summary of a DataFrame.
insert(self, loc, column, value[, …])
insert
Insert column into DataFrame at specified location.
interpolate(self, distance[, normalized])
interpolate
Return a point at the specified distance along each geometry
intersection(self, other)
intersection
Returns a GeoSeries of the intersection of points in each geometry with other.
intersects(self, other)
intersects
Returns a Series of dtype('bool') with value True for each geometry that intersects other.
isin(self, values)
isin
Whether each element in the DataFrame is contained in values.
isna(self)
isna
Detect missing values.
isnull(self)
isnull
items(self)
items
Iterate over (column name, Series) pairs.
iterfeatures(self[, na, show_bbox])
iterfeatures
Returns an iterator that yields feature dictionaries that comply with __geo_interface__
iteritems(self)
iteritems
iterrows(self)
iterrows
Iterate over DataFrame rows as (index, Series) pairs.
itertuples(self[, index, name])
itertuples
Iterate over DataFrame rows as namedtuples.
join(self, other[, on, how, lsuffix, …])
join
Join columns of another DataFrame.
keys(self)
keys
Get the ‘info axis’ (see Indexing for more).
kurt(self[, axis, skipna, level, numeric_only])
kurt
Return unbiased kurtosis over requested axis.
kurtosis(self[, axis, skipna, level, …])
kurtosis
last(self, offset)
last
Method to subset final periods of time series data based on a date offset.
last_valid_index(self)
last_valid_index
Return index for last non-NA/null value.
le(self, other[, axis, level])
le
Get Less than or equal to of dataframe and other, element-wise (binary operator le).
lookup(self, row_labels, col_labels)
lookup
Label-based “fancy indexing” function for DataFrame.
lt(self, other[, axis, level])
lt
Get Less than of dataframe and other, element-wise (binary operator lt).
mad(self[, axis, skipna, level])
mad
Return the mean absolute deviation of the values for the requested axis.
mask(self, cond[, other, inplace, axis, …])
mask
Replace values where the condition is True.
max(self[, axis, skipna, level, numeric_only])
max
Return the maximum of the values for the requested axis.
mean(self[, axis, skipna, level, numeric_only])
mean
Return the mean of the values for the requested axis.
median(self[, axis, skipna, level, numeric_only])
median
Return the median of the values for the requested axis.
melt(self[, id_vars, value_vars, var_name, …])
melt
Unpivot a DataFrame from wide to long format, optionally leaving identifiers set.
memory_usage(self[, index, deep])
memory_usage
Return the memory usage of each column in bytes.
merge(self, \*args, \*\*kwargs)
merge
Merge two GeoDataFrame objects with a database-style join.
min(self[, axis, skipna, level, numeric_only])
min
Return the minimum of the values for the requested axis.
mod(self, other[, axis, level, fill_value])
mod
Get Modulo of dataframe and other, element-wise (binary operator mod).
mode(self[, axis, numeric_only, dropna])
mode
Get the mode(s) of each element along the selected axis.
mul(self, other[, axis, level, fill_value])
mul
Get Multiplication of dataframe and other, element-wise (binary operator mul).
multiply(self, other[, axis, level, fill_value])
multiply
ne(self, other[, axis, level])
ne
Get Not equal to of dataframe and other, element-wise (binary operator ne).
nlargest(self, n, columns[, keep])
nlargest
Return the first n rows ordered by columns in descending order.
notna(self)
notna
Detect existing (non-missing) values.
notnull(self)
notnull
nsmallest(self, n, columns[, keep])
nsmallest
Return the first n rows ordered by columns in ascending order.
nunique(self[, axis, dropna])
nunique
Count distinct observations over requested axis.
overlaps(self, other)
overlaps
Returns True for all geometries that overlap other, else False.
pct_change(self[, periods, fill_method, …])
pct_change
Percentage change between the current and a prior element.
pipe(self, func, \*args, \*\*kwargs)
pipe
Apply func(self, *args, **kwargs).
pivot(self[, index, columns, values])
pivot
Return reshaped DataFrame organized by given index / column values.
pivot_table(self[, values, index, columns, …])
pivot_table
Create a spreadsheet-style pivot table as a DataFrame.
plot(self, \*args, \*\*kwargs)
plot
Plot a GeoDataFrame.
pop(self, item)
pop
Return item and drop from frame.
pow(self, other[, axis, level, fill_value])
pow
Get Exponential power of dataframe and other, element-wise (binary operator pow).
prod(self[, axis, skipna, level, …])
prod
Return the product of the values for the requested axis.
product(self[, axis, skipna, level, …])
product
project(self, other[, normalized])
project
Return the distance along each geometry nearest to other
quantile(self[, q, axis, numeric_only, …])
quantile
Return values at the given quantile over requested axis.
query(self, expr[, inplace])
query
Query the columns of a DataFrame with a boolean expression.
radd(self, other[, axis, level, fill_value])
radd
Get Addition of dataframe and other, element-wise (binary operator radd).
rank(self[, axis])
rank
Compute numerical data ranks (1 through n) along axis.
rdiv(self, other[, axis, level, fill_value])
rdiv
Get Floating division of dataframe and other, element-wise (binary operator rtruediv).
reindex(self[, labels, index, columns, …])
reindex
Conform DataFrame to new index with optional filling logic.
reindex_like(self, other, method, …[, …])
reindex_like
Return an object with matching indices as other object.
relate(self, other)
relate
Returns the DE-9IM intersection matrices for the geometries
rename(self[, mapper, index, columns, axis, …])
rename
Alter axes labels.
rename_axis(self[, mapper, index, columns, …])
rename_axis
Set the name of the axis for the index or columns.
rename_geometry(self, col[, inplace])
rename_geometry
Renames the GeoDataFrame geometry column to the specified name.
reorder_levels(self, order[, axis])
reorder_levels
Rearrange index levels using input order.
replace(self[, to_replace, value, inplace, …])
replace
Replace values given in to_replace with value.
representative_point(self)
representative_point
Returns a GeoSeries of (cheaply computed) points that are guaranteed to be within each geometry.
resample(self, rule[, axis, loffset, on, level])
resample
Resample time-series data.
reset_index(self, level, Sequence[Hashable], …)
reset_index
Reset the index, or a level of it.
rfloordiv(self, other[, axis, level, fill_value])
rfloordiv
Get Integer division of dataframe and other, element-wise (binary operator rfloordiv).
rmod(self, other[, axis, level, fill_value])
rmod
Get Modulo of dataframe and other, element-wise (binary operator rmod).
rmul(self, other[, axis, level, fill_value])
rmul
Get Multiplication of dataframe and other, element-wise (binary operator rmul).
rolling(self, window[, min_periods, center, …])
rolling
Provide rolling window calculations.
rotate(self, angle[, origin, use_radians])
rotate
Returns a GeoSeries with rotated geometries.
round(self[, decimals])
round
Round a DataFrame to a variable number of decimal places.
rpow(self, other[, axis, level, fill_value])
rpow
Get Exponential power of dataframe and other, element-wise (binary operator rpow).
rsub(self, other[, axis, level, fill_value])
rsub
Get Subtraction of dataframe and other, element-wise (binary operator rsub).
rtruediv(self, other[, axis, level, fill_value])
rtruediv
sample(self[, n, frac, replace, weights, …])
sample
Return a random sample of items from an axis of object.
scale(self[, xfact, yfact, zfact, origin])
scale
Returns a GeoSeries with scaled geometries.
select_dtypes(self[, include, exclude])
select_dtypes
Return a subset of the DataFrame’s columns based on the column dtypes.
sem(self[, axis, skipna, level, ddof, …])
sem
Return unbiased standard error of the mean over requested axis.
set_axis(self, labels[, axis, inplace])
set_axis
Assign desired index to given axis.
set_crs(self[, crs, epsg, inplace, …])
set_crs
Set the Coordinate Reference System (CRS) of the GeoDataFrame.
set_geometry(self, col[, drop, inplace, crs])
set_geometry
Set the GeoDataFrame geometry using either an existing column or the specified input.
set_index(self, keys[, drop, append, …])
set_index
Set the DataFrame index using existing columns.
shift(self[, periods, freq, axis, fill_value])
shift
Shift index by desired number of periods with an optional time freq.
simplify(self, \*args, \*\*kwargs)
simplify
Returns a GeoSeries containing a simplified representation of each geometry.
skew(self[, xs, ys, origin, use_radians])
skew
Returns a GeoSeries with skewed geometries.
slice_shift(self, periods[, axis])
slice_shift
Equivalent to shift without copying data.
sort_index(self[, axis, level, ascending, …])
sort_index
Sort object by labels (along an axis).
sort_values(self, by[, axis, ascending, …])
sort_values
Sort by the values along either axis.
squeeze(self[, axis])
squeeze
Squeeze 1 dimensional axis objects into scalars.
stack(self[, level, dropna])
stack
Stack the prescribed level(s) from columns to index.
std(self[, axis, skipna, level, ddof, …])
std
Return sample standard deviation over requested axis.
sub(self, other[, axis, level, fill_value])
sub
Get Subtraction of dataframe and other, element-wise (binary operator sub).
subtract(self, other[, axis, level, fill_value])
subtract
sum(self[, axis, skipna, level, …])
sum
Return the sum of the values for the requested axis.
swapaxes(self, axis1, axis2[, copy])
swapaxes
Interchange axes and swap values axes appropriately.
swaplevel(self[, i, j, axis])
swaplevel
Swap levels i and j in a MultiIndex on a particular axis.
symmetric_difference(self, other)
symmetric_difference
Returns a GeoSeries of the symmetric difference of points in each geometry with other.
tail(self, n)
tail
Return the last n rows.
take(self, indices[, axis])
take
Return the elements in the given positional indices along an axis.
to_clipboard(self, excel, sep, …)
to_clipboard
Copy object to the system clipboard.
to_crs(self[, crs, epsg, inplace])
to_crs
Transform geometries to a new coordinate reference system.
to_csv(self, path_or_buf, pathlib.Path, …)
to_csv
Write object to a comma-separated values (csv) file.
to_dict(self[, orient, into])
to_dict
Convert the DataFrame to a dictionary.
to_excel(self, excel_writer[, sheet_name, …])
to_excel
Write object to an Excel sheet.
to_feather(self, path[, index, compression])
to_feather
Write a GeoDataFrame to the Feather format.
to_file(self, filename[, driver, schema, index])
to_file
Write the GeoDataFrame to a file.
to_gbq(self, destination_table[, …])
to_gbq
Write a DataFrame to a Google BigQuery table.
to_hdf(self, path_or_buf, key, mode, …[, …])
to_hdf
Write the contained data to an HDF5 file using HDFStore.
to_html(self[, buf, columns, col_space, …])
to_html
Render a DataFrame as an HTML table.
to_json(self[, na, show_bbox])
to_json
Returns a GeoJSON representation of the GeoDataFrame as a string.
to_latex(self[, buf, columns, col_space, …])
to_latex
Render object to a LaTeX tabular, longtable, or nested table/tabular.
to_markdown(self, buf, NoneType] = None, …)
to_markdown
Print DataFrame in Markdown-friendly format.
to_numpy(self[, dtype, copy])
to_numpy
Convert the DataFrame to a NumPy array.
to_parquet(self, path[, index, compression])
to_parquet
Write a GeoDataFrame to the Parquet format.
to_period(self[, freq, axis, copy])
to_period
Convert DataFrame from DatetimeIndex to PeriodIndex.
to_pickle(self, path, compression, …)
to_pickle
Pickle (serialize) object to file.
to_postgis(self, name, con[, schema, …])
to_postgis
Upload GeoDataFrame into PostGIS database.
to_records(self[, index, column_dtypes, …])
to_records
Convert DataFrame to a NumPy record array.
to_sql(self, name, con[, schema, …])
to_sql
Write records stored in a DataFrame to a SQL database.
to_stata(self, path[, convert_dates, …])
to_stata
Export DataFrame object to Stata dta format.
to_string(self, buf, pathlib.Path, IO[str], …)
to_string
Render a DataFrame to a console-friendly tabular output.
to_timestamp(self[, freq, how, axis, copy])
to_timestamp
Cast to DatetimeIndex of timestamps, at beginning of period.
to_xarray(self)
to_xarray
Return an xarray object from the pandas object.
touches(self, other)
touches
Returns a Series of dtype('bool') with value True for each geometry that touches other.
transform(self, func[, axis])
transform
Call func on self producing a DataFrame with transformed values.
func
translate(self[, xoff, yoff, zoff])
translate
Returns a GeoSeries with translated geometries.
transpose(self, \*args, copy)
transpose
Transpose index and columns.
truediv(self, other[, axis, level, fill_value])
truediv
truncate(self[, before, after, axis])
truncate
Truncate a Series or DataFrame before and after some index value.
tshift(self, periods[, freq, axis])
tshift
Shift the time index, using the index’s frequency if available.
tz_convert(self, tz[, axis, level])
tz_convert
Convert tz-aware axis to target time zone.
tz_localize(self, tz[, axis, level, ambiguous])
tz_localize
Localize tz-naive index of a Series or DataFrame to target time zone.
union(self, other)
union
Returns a GeoSeries of the union of points in each geometry with other.
unstack(self[, level, fill_value])
unstack
Pivot a level of the (necessarily hierarchical) index labels.
update(self, other[, join, overwrite, …])
update
Modify in place using non-NA values from another DataFrame.
var(self[, axis, skipna, level, ddof, …])
var
Return unbiased variance over requested axis.
where(self, cond[, other, inplace, axis, …])
where
Replace values where the condition is False.
within(self, other)
within
Returns a Series of dtype('bool') with value True for each geometry that is within other.
xs(self, key[, axis, level])
xs
Return cross-section from the Series/DataFrame.
Attributes
T
area
Returns a Series containing the area of each geometry in the GeoSeries.
at
Access a single value for a row/column label pair.
attrs
Dictionary of global attributes on this object.
axes
Return a list representing the axes of the DataFrame.
boundary
Returns a GeoSeries of lower dimensional objects representing each geometries’s set-theoretic boundary.
bounds
Returns a DataFrame with columns minx, miny, maxx, maxy values containing the bounds for each geometry.
DataFrame
minx
miny
maxx
maxy
cascaded_union
Deprecated: Return the unary_union of all geometries
centroid
Returns a GeoSeries of points representing the centroid of each geometry.
columns
The column labels of the DataFrame.
convex_hull
Returns a GeoSeries of geometries representing the convex hull of each geometry.
crs
The Coordinate Reference System (CRS) represented as a pyproj.CRS object.
pyproj.CRS
cx
Coordinate based indexer to select by intersection with bounding box.
dtypes
Return the dtypes in the DataFrame.
empty
Indicator whether DataFrame is empty.
envelope
Returns a GeoSeries of geometries representing the envelope of each geometry.
exterior
Returns a GeoSeries of LinearRings representing the outer boundary of each polygon in the GeoSeries.
geom_type
Returns a Series of strings specifying the Geometry Type of each object.
geometry
Geometry data for GeoDataFrame
has_z
Returns a Series of dtype('bool') with value True for features that have a z-component.
iat
Access a single value for a row/column pair by integer position.
iloc
Purely integer-location based indexing for selection by position.
index
The index (row labels) of the DataFrame.
interiors
Returns a Series of List representing the inner rings of each polygon in the GeoSeries.
is_empty
Returns a Series of dtype('bool') with value True for empty geometries.
is_ring
Returns a Series of dtype('bool') with value True for features that are closed.
is_simple
Returns a Series of dtype('bool') with value True for geometries that do not cross themselves.
is_valid
Returns a Series of dtype('bool') with value True for geometries that are valid.
length
Returns a Series containing the length of each geometry.
loc
Access a group of rows and columns by label(s) or a boolean array.
ndim
Return an int representing the number of axes / array dimensions.
shape
Return a tuple representing the dimensionality of the DataFrame.
sindex
size
Return an int representing the number of elements in this object.
style
Returns a Styler object.
total_bounds
Returns a tuple containing minx, miny, maxx, maxy values for the bounds of the series as a whole.
type
Return the geometry type of each geometry in the GeoSeries
unary_union
Returns a geometry containing the union of all geometries in the GeoSeries.
values
Return a Numpy representation of the DataFrame.