Dataset을 자동으로 불러오는 코드

import requests
from os import path
import pandas as pd

# Source
data_path = './dataset_210626_215600.csv'

if not path.exists(data_path):
    url = '<https://kyuuuw-nlp-dataset.s3.ap-northeast-2.amazonaws.com/fragrantica/dataset_210626_215600.csv>'
    r = requests.get(url, allow_redirects=True)
    open(data_path, 'wb').write(r.content)

data = pd.read_csv(data_path)

향수의 종류