I have the following data file which contains four columns of data
However when I import it as
data = Import["Exo_data.txt", "Table"];
I get the following list
data = {{11, "Com", "b", 19.4, 0.231, 2.7}, {11, "Oph", "b", 21, 0.0162},
{11, "UMi", "b", 10.5, 0.08, 1.8}, {14, "And", "b", 5.33, 0, 2.2}, ...}
The first column of the data file contains the names, e.g., 11 Com b, however when I Import it the name is split into multiple columns. I want to obtain the following list
data = {{"11 Com b", 19.4, 0.231, 2.7}, {"11 Oph b", 21, 0.0162},
{"11 UMi b", 10.5, 0.08, 1.8}, {"14 And b", 5.33, 0, 2.2}, ...}
Any suggestions?