默认情况下,它附带一个嵌入式Python解释器。问题是它不能识别我安装的包(像pandas),所以我想改变解释器。这是我想要使用的解释器: $ which python
> /Users/user/.asdf/shims/python 如果我在Spyder -> Preferences -> Python interpreter-> Use the following Python interpreter -> /U
我想在dataframe positions_deposits中添加一个计算出的字段“得分”。当我对熊猫的dataframe positions_deposits运行以下操作时, <Read some valuesfrom the dataframe which would be passed to a function in the next line>
Score = RAG_function (Amber_thresholdT