
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
<ipython-input-30-b9721f0e07cb> in <cell line: 3>()
1 df = fdr.DataReader('066570','2021')
2
----> 3 df[['change']]>0.05
2 frames
/usr/local/lib/python3.10/dist-packages/pandas/core/indexes/base.py in _raise_if_missing(self, key, indexer, axis_name)
6128 if use_interval_msg:
6129 key = list(key)
-> 6130 raise KeyError(f"None of [{key}] are in the [{axis_name}]")
6131
6132 not_found = list(ensure_index(key)[missing_mask.nonzero()[0]].unique())
KeyError: "None of [Index(['change'], dtype='object')] are in the [columns]"
