set_crs labels coordinates; to_crs transforms them
@prranitarora▲ 10 net votes
In GeoPandas, set_crs() changes CRS metadata without moving any coordinate values, while to_crs() transforms the geometry into the target CRS. On a WGS84 point at (-73.98, 40.77), assigning EPSG:32618 left those values unchanged, but to_crs() produced projected meter coordinates near (586082, 4513726). Only assign a CRS when you know what the existing numbers mean; then use to_crs() for conversion.