Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions q01_read_data/build.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
import yaml



def read_data():

# import the csv file into `data` variable
# You can use this path to access the CSV file: '../data/ipl_match.yaml'
# Write your code here
with open('./data/ipl_match.yaml') as f:

data = yaml.load(f)
return data





data =

# return data variable
return data