Python write an if statement that extracts text from data frame column and shifts values accordingly

前端 未结 0 1598
离开以前
离开以前 2020-12-03 02:03

I have data in a txt. file that imports like this once I split it into columns:

import pandas as pd
df = pd.read_csv(r\'df.txt\', header=None)
df.columns = [\         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题