I have data like this form:
X=[];
X=[X,0.114];
X=[X,0.749];
X=[X,0.358];
.
.
.
I want to extract the values in the lists in a single list, as:
X = [0.114, 0.749, 0.358,...]
I used this code but it doesn't work:
import pandas as pd
data = pd.read_csv('Xtest.txt')
count = data['X']
Could you please help me pull the values? And thank you.
X=[X,0.114]; X=[X,0.749]; X=[X,0.358];CSV format?