def get_firstday(time):
return time.replace(day = 1)
data['time'] = data['date'].apply(get_firstday)
def get_firstday(time):
return time.replace(day = 1)
data['time'] = data['date'].apply(get_firstday)
繼續運行 ?* 回憶上次內容 上次使用shell環境中的命令 命令 作用 c