Getting Data
I really love data from an early age. I remember the time my dad take me to a store where I found the
almanac of the world that was back then in 2005. That was a whole discovery. This introduces me into the question about getting the best data. An Almanac relies on official sources but where is the best place to find the best data. I write this post from Canada and there is several sources for information. Depending on your needs you could begin your research with the official statistics of your country.
Begin your data search in official sources like the statistics site of your city, or country.
You could also look academic sources like google scholar, Pubmed and research gate.
Look for available databases of universities as well.
I will write more on this in the future.
Drawing Data
To begin with you could use excel to have a better idea. The data below shows the histogram of the salaries in Toronto.
To open this file in python
>>> file = open('data.csv', r) # this creates the file with the data of a 'data.csv' document in python
>>> file.readline() #This prints the first line of the document
file = open('stats0.csv', 'r')
while input()!= 'end': #this code lets you see how the data is processed by clicking enter
a = file.readline()
print(a)
The data is not processed yet.
Read other tutorials to see how to manipulate data and prepare data.
No comments:
Post a Comment