Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- Long Short Term Memory
- nn.Module
- mlops
- 1x1 Convolution
- docker
- Multi-Layer Perceptron
- Linear algebra
- Gated Recurrent Unit
- 상호 정보량
- pytorch
- object detaction
- pythonForEverybody
- GoogLeNet
- 선형대수
- skip-gram
- Charlse Severance
- 차원 감소
- Python
- dl
- 파이썬
- 분포 가설
- 시소러스
- 동시발생 행렬
- f1-score
- 벡터 간 유사도
- CBOW
- deep learning
- excel
- py4e
- convolution
Archives
- Today
- Total
Tech & TIL
'xxx' object is not callable 본문
'DataFrame' object is not callable 오류 해결 방법 정리하기
위 오류가 발생하는 이유는 객체를 call
했기 때문이다. 쉽게 말해 Dataframe[] 을 해야하는데 Dataframe()으로 소괄호로 작성한다면 위 오류가 발생한다.
d = {'col1': [1, 2], 'col2': [3, 4]}
df = pd.DataFrame(data=d)
df('col1')
Error 발생
해결방법은 아래와 같다.
df['col1']
# Output
# [1,2]