2017-05-21 46 views

回答

0

同任何其他序列或迭代:

[ value[:4] for value in df["time"] ] 

取決於你想用它做什麼,你可以使用apply()等,但就你的問題去,我不認爲有任何理由至。

相關問題