- After performing this task we will be able to read the yaml file into the python.
- This function will read the data from yaml format.
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. Load it in using python's yaml package and return it.
Write your code to import the following yaml file into data variable
Path : './data/ipl_match.yaml'
Let's do it!!