Académique Documents
Professionnel Documents
Culture Documents
A program to plot line chart and bar char for all the CSV files with only 2 columns of
numeric data
Lastly, narrow down to look at pricing for combination of town and flat type
A majority of population in Singapore
Public resides in public housing, i.e., HDB flats
housing
Aside from the direct purchase of flat from
demand HDB, there are demands met outside of
outside of HDB
A program to plot line chart and bar char for all the CSV files with only 2 columns of
numeric data
Next, look at demand satisfied by resale market in the past for the different type of flat
Lastly, narrow down to look at pricing for combination of town and flat type
Active Cases of Renting Out of Flat
Data sets
• https://data.gov.sg/dataset/active-cases-of-
walkthrough renting-out-of-flat
sets • https://data.gov.sg/dataset/flats-constructed
Sample Output -
Default folder = [c:\pyai\data\ca1_ds] For for each CSV file in the folder, the
Where is the data located? Press [Enter] for default folder:
--------------------------------------------------------------------------------
as minimum)
11 unique values in financial_year column • Highest number
unique values are {2016, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015} • Range
Excluding 0s in this column........
...
First, a program to process all the CSV files and give some statistics information
A program to plot line chart and bar char for all the CSV files with only 2 columns of
numeric data
Next, look at demand satisfied by resale market in the past for the different type of flat
Lastly, narrow down to look at pricing for combination of town and flat type
More demand since 2006
at:
1. Rental of flats
2. Purchase of new flats
First, a program to process all the CSV files and give some statistics information
A program to plot line chart and bar char for all the CSV files with only 2 columns of
numeric data
Next, look at demand satisfied by resale market in the past for the different type of flat
Lastly, narrow down to look at pricing for combination of town and flat type
Plotting the same 2 sets of data into a scatterplot and adding a trendline shows the trend of increasing demand in rental
and yet the purchase are also in uptrend
A program to plot line chart and bar char for all the CSV files with only 2 columns of
numeric data
Next, look at demand satisfied by resale market in the past for the different type of flat
Lastly, narrow down to look at pricing for combination of town and flat type
In actual fact, we have been build
mostly more over the years since 2006
HDB is not the only supply of
public housing
The resale market is where some buyers turned to
fulfil their demand
We can expect resale transactions volume to differ
over the years
Different flat type also has different demands
A program to plot line chart and bar char for all the CSV files with only 2 columns of
numeric data
Next, look at demand satisfied by resale market in the past for the different type of flat
Lastly, narrow down to look at pricing for combination of town and flat type
There seems to be downward trend in number of resale transactions since 2009.
Concentrating on the 3 most transacted types of flat, it can also be seen the demand for
resale flats has been generally down since.
Economics tells us that
A program to plot line chart and bar char for all the CSV files with only 2 columns of
numeric data
Next, look at demand satisfied by resale market in the past for the different type of flat
Lastly, narrow down to look at pricing for combination of town and flat type
Generally, not useful to look at historical price too far back to
compare for current prices
For this purpose, I target to look the data sets for the 3 towns in
the central of Singapore: Ang Mo Kio, Bishan, Toa Payoh
when an The data set is categorized by town and the different types of
flat to plot the histograms and boxplots
owner want to
sell
Resale prices for
latest 6 months…
say just for a few
towns in Central
Singapore
Let’s look at
Histogram for Ang Mo Kio town