my block code in jupyter notebook wherein data is being read from a .csv file

def read_csv(filename):
    with open(filename, 'rb') as f:
        reader = unicodecsv.DictReader(f)
        return list(reader)

enrollments = read_csv('enrollments.csv')
daily_engagement = read_csv('daily_engagement.csv')
project_submissions=read_csv('project_submissions.csv')
1

There are 1 answers

0
akaihola On

Just introspect your variables in subsequent notebook cells:

enrollments

or:

type(enrollments) 

or:

[type(e) for e in enrollments] 

And so on.