Fix override issue in GeoDataFrame.astype return type (#13606)

This commit is contained in:
Daksh2000
2025-03-09 18:55:56 +05:30
committed by GitHub
parent ab46a26de8
commit 59717f4d0a
+1 -1
View File
@@ -315,7 +315,7 @@ class GeoDataFrame(GeoPandasBase, pd.DataFrame): # type: ignore[misc]
dtype: AstypeArg | Mapping[Any, Dtype] | pd.Series[Any], # any because of mapping invariance and series typevar bounds
copy: bool | None = None,
errors: Literal["ignore", "raise"] = "raise",
) -> GeoDataFrame | pd.DataFrame: ...
) -> GeoDataFrame: ...
def to_postgis(
self,
name: str,