You are on page 1of 1

Data Field Idetifier Data Type Example Reason for choosing the

data type mentioned


Player_name String David Warner Name may contain
letters and other
characters
country String Australia Name may contain
letters and other
characters
Total_runs integer 14718 As the runs are
represented by
numbers and no
decimals are included
Run_rate float 23.28 As run rate is
represented by
decimals float() function
is used
Player_statistics dictionary DW={“Name”:”David Statistics contain wide
Warner”, “total runs”: range of data types likes
14718, “sixes”:407, float, integers, string,
“fours”:2081} list etc. to represent run
rates, name, sixes,fours,
number of matches
played etc. Hence dict{}
function is used.
Matches_played lists Matches List[]functionnis used
played=[“test”,”ODI”,”T2 so as to modify the
0”, “IPL”] data whenever
needed instead of
tuple as it cannot be
modified

You might also like