] [python]실행오류 .ix --> . loc
본문 바로가기

카테고리 없음

[python]실행오류 .ix --> . loc

짤오류 메세지를 잘 확인하자 파이썬에서 어떤 메세지를 출력하는지 멍청하게 왜 안될가... 하면서 똑같은 시도만 계속 해 보고 있어도  의미 없다.

 

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/home/uosest/.conda/envs/py27/lib/python2.7/site-packages/ipykernel_launcher.py:70: DeprecationWarning: 
.ix is deprecated. Please use
.loc for label based indexing or
.iloc for positional indexing
 
See the documentation here:
http://pandas.pydata.org/pandas-docs/stable/indexing.html#ix-indexer-is-deprecated
/home/uosest/.conda/envs/py27/lib/python2.7/site-packages/pandas/core/indexing.py:888: DeprecationWarning: 
.ix is deprecated. Please use
.loc for label based indexing or
.iloc for positional indexing
 
See the documentation here:
http://pandas.pydata.org/pandas-docs/stable/indexing.html#ix-indexer-is-deprecated
  retval = getattr(retval, self.name)._getitem_axis(key, axis=i)
http://colorscripter.com/info#e" target="_blank" style="color:#e5e5e5text-decoration:none">Colored by Color Scripter
http://colorscripter.com/info#e" target="_blank" style="text-decoration:none;color:white">cs