Example using pandas:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
In [13]: import pandas as pd
In [14]: temp = pd.DataFrame()
In [15]: temp.ix()
/Library/Frameworks/Python.framework/Versions/3.6/bin/ipython:1: 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
#!/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6
Out[15]: <pandas.core.indexing._IXIndexer at 0x11365cef8>
So everytime I use the ".ix()" command, there is a "DeprecationWarning" that pops up which also provides me to functions to use.