Exercise 1.28: Other kinds of “files” gives an IndentationError. It looks like
>>> import gzip
>>> with gzip.open('Data/portfolio.csv.gz', 'rt') as f:
for line in f:
print(line, end='')
should be changed to something like
>>> import gzip
>>> with gzip.open('Data/portfolio.csv.gz', 'rt') as f:
for line in f:
print(line, end='')
Thank you for this great course.
Exercise 1.28: Other kinds of “files”gives anIndentationError. It looks likeshould be changed to something like
Thank you for this great course.