5 Ways to Make Fractions Learning Fun

Teaching fractions? Try these fun and learn activities in your class and let me know how it goes! I promise these activities will want you to teach fractions more! Tangrams offer an understanding…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Stanford University vs Harvard University

Suppose that a person applied to study for Stanford University and Harvard University. Then he/she accepted by both of them. Since they are one of the best university, he/she felt confused. On the other hand, art and entertainment venues around the university are vital for him/her.

In order to solve this problem, I google the address of universities and retrieve their geographical coordinates via geolocater library. After that, I use Foursquare API to collect data of art and entertainment venues around both universities.

By using the folium map library, I pinpoint venues for both universities.

Stanford Venues Folium Map

Also, I demonstrate categories by grouping them via the bar plot.

For further analyzing, I apply one-hot encoding and k-means clusters for the dataframes.

One-hot encoding for Harvard University
One-hot encoding for Stanford University

Next, I create a folium map for the clusters.

As comparing venues for both universities, I merge category columns of dataframes. Afterward, I note similarity and dissimilarity between them along with the grouped bar pilot.

To sum up, Stanford University has more venues and different kinds of venues than Harvard University.

Since art and entertainment venues are very important for him/her and Stanford University has more art and entertainment venues, he/she would prefer Stanford University.

Add a comment

Related posts:

What is tokenomics and how it can make or break your ICO

Imagine you are the ruler of a small country. All residents of your country use the barter system to trade goods and services. Now you find barter to be a cumbersome process because of the following…

What is an ETF?

The stock market can be difficult to put your money into, especially if you don’t know much about it. An easy way to get started with the stock market can be buying an ETF instead of buying…

Bridging Auto Layout with frame based layout

Have you ever run into the issue of placing your new Auto Layout based view within some older frame-based code? One problem you’ll encounter is that you need a way for the frame-based layout to know…