Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Read the Data File

Hello folks, this assignment will be comprising of intial step of reading and loading the data in structured format.

Write the function read_data that:

  • Makes use of python's yaml package and performs the task to read the data from yaml file.

Parameters :

None

Returns:

Return dtype description
data Dictionary Data recorded in the form of several dictionaries

Data Set

As we discussed, the data comes from cricsheet.org which provides structured ball by ball data which you can use for any sort of analysis. The data is in yaml (Yet Another Markup Language) format.

Note - The path from where the file can be loaded Path : '../data/ipl_match.yaml'

Let's do it!!