I am trying to split a string text by ",&: " and put it back to newly created df with columns name
but facing a problem, the result overwrite/ignored my df columns name and return columns instead.
but facing a problem, the result overwrite/ignored my df columns name and return columns instead.
dfA=pd.DataFrame(columns=["NAME","REMARK","SPLITIND","INFO","AREA"]) dfA=dfB["SETUP"].str.split(',|:',expand=True)how to remove index in df Row?