0

I'm having problems splitting a dataframe

Ex of data in data frame:

27/09/2017;2335W;0;;1"88485170"

I'm trying to split if with

data.split(";")

But I get AttributeError: 'DataFrame' object has no attribute 'split'

Any Idea of what I need to do in order to separate it? The first part is data, the second is time (I also need to erase the W) the 3 part is a number and the last is also a number

Code:

import pandas as pd
from datetime import timedelta,time,datetime
data=pd.read_excel("Book1.xlsx")
data1= data.split(";",n=4,expand =True)
AttributeError: 'Data Frame' object has no attribute 'split'

0 Answers0