Learn practical skills, build real-world projects, and advance your career

Data Wrangling Template

Gather

import zipfile
with zipfile.ZipFile('online-job-postings.csv.zip','r') as myzip:
    myzip.extractall()
--------------------------------------------------------------------------- FileNotFoundError Traceback (most recent call last) <ipython-input-2-6b455ed6fe5e> in <module> ----> 1 with zipfile.ZipFile('online-job-postings.csv.zip','r') as myzip: 2 myzip.extractall() /opt/conda/lib/python3.8/zipfile.py in __init__(self, file, mode, compression, allowZip64, compresslevel, strict_timestamps) 1249 while True: 1250 try: -> 1251 self.fp = io.open(file, filemode) 1252 except OSError: 1253 if filemode in modeDict: FileNotFoundError: [Errno 2] No such file or directory: 'online-job-postings.csv.zip'
import pandas as pd
df = pd.read_csv('online-job-postings.csv')