How do I convert a .txt file with the following form of data to a pandas dataframe?
For example, this is the txt file with the structure (x1, y1, z1), (x2, y2, z2), ... (xn, yn, zn),
(108.222994365147, 16.077177357808345, 17.5), (108.22299074891866, 16.07718225312858, 17.5), (108.2229869226013, 16.077186986051835, 17.5), (108.22298289347849, 16.077191547568788, 17.5),
And after converting I want it to be like this
x y z
1 108.222994365147 16.077177357808345 17.5
2 108.22299074891866 16.07718225312858 17.5
3 108.2229869226013 16.077186986051835 17.5
4 108.22298289347849 16.077191547568788 17.5