exxeleron / qPython

interprocess communication between Python and kdb+
http://www.devnet.de
Apache License 2.0
152 stars 89 forks source link

Replace deprecated pandas Series.as_matrix() with Series.values() #61

Open janbaykara opened 5 years ago

janbaykara commented 5 years ago

I'm getting this error. Seems as though qpython requires a straight swap from pandas' Series.as_matrix() deprecated method to Series.values() (suggested in the docs)

python3.6/site-packages/qpython/_pandas.py:61: FutureWarning: Method .as_matrix will be removed in a future version. Use .values instead.
  keys = keys if not isinstance(keys, pandas.Series) else keys.as_matrix()