From the course: Geospatial Data Analytics Essential Training
Unlock the full course today
Join today to access over 24,700 courses taught by industry experts.
Explore the administrative boundaries of the NYC neighborhoods - Python Tutorial
From the course: Geospatial Data Analytics Essential Training
Explore the administrative boundaries of the NYC neighborhoods
- [Instructor] In this section, we will conduct exploratory spatial analytical steps to further understand the different properties of the neighborhoods of New York City. These steps will both provide deeper insights into the neighborhoods of New York City and help us to build up the skills to analyze larger sets of spatial units. First, we import geopandas as usual by renaming it to gpd. Then we define the filename, which you can simply copy and paste here and store under the variable name file_name. We can use this file_name combined with our GeoPandas reader function read_file to parse this data file and store it in a GeoDataFrame called gdf. Once we read the file, let's print its size by measuring the total number of rows in the GeoDataFrame and display the first 10 rows on the Code::Blocks output. Taking a quick look at the data frame, we can tell that it contains 195 different neighborhoods from New York City, each identified by their ntaname and ntacode. Then each neighborhood…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Acquire open geospatial data about New York City3m 35s
-
(Locked)
Explore the administrative boundaries of the NYC neighborhoods5m 28s
-
(Locked)
Combine and compare spatial datasets7m 31s
-
(Locked)
Enrich administrative boundaries using population information4m 29s
-
(Locked)
Computing local statistics8m 10s
-
(Locked)
Turning tabular data into geospatial4m 20s
-
(Locked)
Urban greenery assessment5m 54s
-
(Locked)
-