摘要:
参考:https://www.jianshu.com/p/c555113a30ea 简单的,则使用下面方法 filenames.startswith('file') #True filenames.endswith('.txt') s.find("ok") #存在则返回下标,否则返回-1(复杂的建议 阅读全文
摘要:
第一种,(推荐) order = ['date', 'time', 'open', 'high', 'low', 'close', 'volumefrom', 'volumeto'] df = df[order] 第二种, df_id = df.id df = df.drop('id',axis=1 阅读全文