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.
最近、SFrames のデータ構造を学び始めています。「str」列を「float」または「int」列に変換するという問題を経験した人はいるのだろうか。R では、as.numeric() または as.integer() によって簡単にタスクを達成できました。
SFrames(python)でそれを行うにはどうすればよいですか?
ありがとう、
このアプローチが機能することがわかりました。
sf['column_name'] = sf['column_name'].astype(float) sf['column_name'] = sf['column_name'].astype(str)