課程
/后端開發(fā)
/Python
/Python數(shù)據(jù)預(yù)處理(二)- 清洗文本數(shù)據(jù)
清洗后的文本content[:20]沒有結(jié)果,打印為空
2019-08-09
源自:Python數(shù)據(jù)預(yù)處理(二)- 清洗文本數(shù)據(jù) 1-9
正在回答
print('{t}?***?{i}?\t?docs?has?been?dealed'
??????????????????????.format(i=i,?t=time.strftime('%Y-%m-%d?%H:%M:%S',time.localtime())),'\n',catg,':\t',file[:20])
file???
看看是不是有語法錯誤,我的是可以跑出來的
舉報
教會你使用Python數(shù)據(jù)預(yù)處理
1 回答輸出無結(jié)果
1 回答不完整啊,想看后面的結(jié)果
1 回答sklearn中tf-idf中結(jié)果的(0,10)的10是什么意思?
1 回答并未循環(huán)迭代生成器,計算出的執(zhí)行時間不正確
3 回答在運行時出現(xiàn)這個ExceptionInInitializerError錯誤,是因為什么呢?
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網(wǎng)安備11010802030151號
購課補貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動學習伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號
2020-01-24
print('{t}?***?{i}?\t?docs?has?been?dealed'
??????????????????????.format(i=i,?t=time.strftime('%Y-%m-%d?%H:%M:%S',time.localtime())),'\n',catg,':\t',file[:20])
file???
2019-09-18
看看是不是有語法錯誤,我的是可以跑出來的