Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我尝试将我的 float64 变量转换为 str : data['Abo_str'] = data['Abo'].isnull().astype(str) 但结果为 False。我该怎么做 ?谢谢
data['Abo_str'] = data['Abo'].isnull().astype(str)
你用哪种语言实现如果你用 Python 实现。下面的代码可能对您有用。
float_value = 1.99 string_value = str(float_value) print(string_value)