Text to Colomn in Python :     def Text2Col(df_File):
        for i in range(0,len(df_File)):  
            with open(df_File.iloc[i]['Input']) as inf:
                with open(df_File.iloc[i]['Output'], 'w') as outf:
                    i=0
                    for line in inf:
                        i=i+1
                        if i==2 or i==3:
                            continue
                        outf.write(','.join(line.split(';')))

Above code is used to convert a csv file from text to column.
This code makes all values string ( because split() ) which is problematic for me.
I tried using map function but cant make it.

Is there any other way in which I can do this.
My input file has 5 column, First column is string, second is int and rest are float.

I think it required some modification in last statement 

      outf.write(','.join(line.split(';')))

Please let me know if any other input is required.