Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

New York Taxi Trip Duration

$
0
0

I am currently working on New York Taxi trip duration EDA assignment.

I was trying to plot the data points provided onto a map of New York city.

I am using geopandas library. Here is the code for same.

geo_df = gpd.GeoDataFrame(df, crs = {‘init’: “EPSG:4326”},
geometry = [Point(xy) for xy in (df[‘pickup_longitude’], df[‘pickup_latitude’])])

It is giving me the following error :

Please let me know how it can be resolved.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles