Data Field Identifier Data Type
Data Field Identifier Data Type
Player_Name String
Nationality String
Run_rate Float
50s_scored Int
100s_scored Int
200s_scored Int
Sixers Int
Fours Int
Duck_Outs Int
Format Set
Matches_Played Dictionary
Score_in_diff_formats Dictionary
Teams_played_for Tuple
Favorite_cricketers List
EXAMPLE
Sachin Tendulkar
India
53.79
68
51
6
69
2058
14
{"Test", "ODI", "T20", "IPL"}
{"Test":200, "ODI":463, "T20":1, "IPL":78}
{"Test":248, "ODI":200, "T20":10, "IPL":100}
("India", "India A", "India B", "India Blue", "India Seniors"
"Rest of India", "Rest of the World", "Wills XI", "West Zone"
"Yorkshire", "Mumbai", "Marylebone Cricket Club",
"Sachins Blasters")
["Vivian Richards", "Imran Khan", "Sunil Gavaskar"]
REASON TO CHOOSE THIS DATA TYPE
Player name consists of characters
Nationality consists of characters
Run rate is in decimal format
No.of 50s is an Integer
No.of 100s is an Integer
No.of 200s is an Integer
No.of sixers is an Integer
No.of fours is an Integer
No.of duck outs is an Integer
Format of matches is catogerised under set as format of every match should be unique/ should not repeat more than once
No.of matches played is listed under dictionary format
Score in various formats is listed under dictionary format
Sachin is retired bats man. So, teams played is immutable and no more teams can be added or deleted.
Favorite crickter is catogerised under list as it is mutable and it can be changed as per time
epeat more than once