I have a list of a list of numbers where two rows are strings, e.g.
A = [[1,'5.4','2'],[2,'6','3']]
How do I convert this to a pandas dataframe, such that the 1st and 3nd columns are integers and the 2nd column is a float
by
pd.DataFrame(A,dtype=float)
it converts all to floats.