doforms_data\Concept_script_working.pyw", line 133, in main File "C:\Users\agarth\AppData\Roaming\Python\Python38\site-packages\pandas\core(str)+' '+x.name) #
Attribu
text = str(text.encode("utf-8")) AttributeError:'float‘对象没有属性'encode’
我试图使用df'Translated_message'=df'Translated_message'.values.astype('string')将数据转换为字符串,但这不起作用。
approximate_joint_diagonalization_qndiag/qndiag/qndiag/qndiag.py", line 151, in transform_setAttributeError: 'str' object has no attribute 'dot' 下面是相关的function transform_set: def transform_set(M, D, diag_only