![](/img/trans.png)
[英]Can't replace string symbol “-” in dataframe on jupyter notebook
[英]Sympy can't output a symbol on jupyter notebook
每個人! 我在這個平台上很新,有一件事需要你的幫助。 我在 jupyter notebook 上使用 sympy 並且我正在編寫一個虛擬公式,平方根,但是這個符號的輸出不是根符號,實際上它輸出的是 sqrt 。
我給你們舉個例子
import sympy
In: sympy.sqrt(3)
Out :sqrt(3)
這是 SymPy 的正常行為。 我現在無法測試它,但嘗試在調用sqrt
函數之前在代碼中添加init_printing(use_unicode=True)
。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.