My nested list looks like:
[['NP-00002',
Motor1 0.126878
Lpi 0.099597
dtype: float64],
['NP-00067',
Health 0.253135
Travel 0.157896
dtype: float64],
['LE-00035',
Train 0.134382
Property 0.126089
dtype: float64],
['NP-00009',
Start 0.171959
Casco 0.163557
dtype: float64]]
I would like my data to be in 3 columns in a pandas dataframe (dtype: float64 is dropped). I have a problem with ' ' separation, also with .astype(str).
Example for 1st item in nested list (2 rows outputed):
1st column 2nd column 3rd column
NP-00002 Motor1 0.126878
NP-00002 Lpi 0.099597