def to_crs(self, crs=None, epsg=None, inplace=False):
        if inplace:
            df = self
        else:
            df = self.copy()
        geom = df.geometry.to_crs(crs=crs, epsg=epsg)
        df.geometry = geom
        df.crs = geom.crs
        if not inplace:
            return df
Transform geometries to a new coordinate reference system
dataset/ETHPy150Open geopandas/geopandas/geopandas/geodataframe.py/GeoDataFrame.to_crs