
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
에러 내용은 FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead. 이라고 뜹니다.
결과 값이 안 나오거나 하진 않지만 챗 gpt에게 물어본 결과
경고 메시지는 코드가 사용 중인 라이브러리의 새로운 버전에서 일부 함수 또는 기능이 제거될 예정이라는 경고입니다. 현재 코드에서는 DataFrame.append() 메서드를 사용하고 있는데, 해당 메서드는 향후 버전에서 삭제될 예정입니다. 대신 pandas.concat() 함수를 사용하는 것이 권장됩니다.
라고 대답하더라구요. 강의가 작년 기준의 강의라 버전이 맞지 않아서 에러가 있는걸까요? 데이터 값은 정상으로 나오긴 하지만 에러가 떠서 질문 드립니다.
AAPL
ABNB
<ipython-input-54-c4b4c6118bd2>:9: FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.
df = df.append(row, ignore_index = True)
<ipython-input-54-c4b4c6118bd2>:9: FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.
df = df.append(row, ignore_index = True)
<ipython-input-54-c4b4c6118bd2>:9: FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.
df = df.append(row, ignore_index = True)
BIDU
META
<ipython-input-54-c4b4c6118bd2>:9: FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.
df = df.append(row, ignore_index = True)
<ipython-input-54-c4b4c6118bd2>:9: FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.
df = df.append(row, ignore_index = True)
GOOG
MSFT
<ipython-input-54-c4b4c6118bd2>:9: FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.
df = df.append(row, ignore_index = True)
<ipython-input-54-c4b4c6118bd2>:9: FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.
df = df.append(row, ignore_index = True)
TSLA
PYPL
<ipython-input-54-c4b4c6118bd2>:9: FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.
df = df.append(row, ignore_index = True)
<ipython-input-54-c4b4c6118bd2>:9: FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.
df = df.append(row, ignore_index = True)
NFLX
NVDA
<ipython-input-54-c4b4c6118bd2>:9: FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.
df = df.append(row, ignore_index = True)
