Geos ExtensionArray#
- class pgpd.GeosArray(data)#
- dtype = <pgpd._array.GeosDtype object>#
Dtype for this ExtensionArray
- ndim = 1#
Number of dimensions of this ExtensionArray
Serialization#
Serialization & Deserialization functionality.
Create a GeosArray from Shapely data. |
|
Create a GeosArray from WKB data. |
|
Create a GeosArray from WKT data. |
|
Transform the GeosArray to a NumPy array of WKB bytes. |
|
Transform the GeosArray to a NumPy array of WKT strings. |
ExtensionArray Specific#
Necessary methods for the ExtensionArray
.
Construct a new ExtensionArray from a sequence of scalars. |
|
Return an array and missing value suitable for factorization. |
|
Reconstruct an ExtensionArray after factorization. |
|
Select a subset of self. |
|
Set one or more values inplace. |
|
Length of this array |
|
Return for self == other (element-wise equality). |
|
Dtype for this ExtensionArray |
|
The number of bytes needed to store this object in memory. |
|
A 1-D array indicating if each value is missing. |
|
Take elements from an array. |
|
Return a copy of the array. |
|
Concatenate multiple array of this dtype. |
|
Return values for sorting. |
NumPy Specific#
Methods to make the GeosArray a NumPy Array Container.
The number of elements in the array. |
|
Return a tuple of the array dimensions. |
|
Return internal NumPy array. |
Custom#
Custom methods to add more functionality.
Performs a 2D or 3D affine transformation on all the coordinates. |
|
Performs an addition between the coordinates array and other. |
|
Performs a subtraction between the coordinates array and other. |
|
Performs a multiplication between the coordinates array and other. |
|
Performs a division between the coordinates array and other. |
|
Performs a division between the coordinates array and other. |