
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
결과물 market_event가 이상하게 나옵니다.
위에 그림은 실습. 아래 그림은 답안 실행


에러메세지는 없음
import requests
import pandas as pd
import json
url = "https://api.upbit.com/v1/market/all?isDetails=true"
headers = {"accept": "application/json"}
response = requests.get(url, headers=headers)
response # 결과 확인
response.text # 결과 확인
# 1. API로 마켓 코드 조회하여 market_code_df변수에 저장하기
market_code_df = pd.DataFrame(json.loads(response.text))
market_code_df
