Data: The data shows some information abouthuman evolution history. (3human_evolution.txt)
The first line shows the attributes. Each line shows onespecies.
Write the python code to get the answer of following tasks. Usepython code to directly write the result to a file called“result.txt”. And save the plot to ‘figure.png’.
You need to use for/while loop to do all the counting.
Manual counting and writing will get 0 point.
We will run your code to generate the result.txt andfigure.png.
Tasks:
1. How many attributes the data has?
2. How many missing values the dataset has? (missing value isrepresented as ‘ ’)
3. How many species the data has?
4. which species is
OR
OR