Hi there this is my code:
When I try to run this I get an error.
df = pd.read_csv(file, sep='|', encoding='latin-1')
arreglox = df[df.columns['id':'date_in':'date_out':'objetive':'comments']].as_matrix()
arregloy = df[df.columns[1]].as_matrix()
Here is the error:
File "<ipython-input-30-6060fe26b2b1>", line 1
arreglox = df[df.columns['id':'date_in':'date_out':'objetive':'comments']].as_matrix()
^
SyntaxError: invalid syntax
please help me, thank u very much