How to display a pandas Series in Python?
For the first column, you can use targets_test.keys()[i], for the second one targets_test.values[i] where i is the row starting from 0.
I have a variable target_test (for machine learning) and I'd like to display just one element of target_test.
type(target_test) print the following statement on the terminal : 
class 'pandas.core.series.Series'
If I do print(target_test) then I get the entire 2 vectors that are displayed. 
But I'd like to print just the second element of the first column for example.
So do you have an idea how I could do that ?
I convert target_test to frame or to xarray but it didn't change the error I get.
When I write something like : print(targets_test[0][0]) 
I got the following output : 
TypeError: 'instancemethod' object has no attribute '__getitem__'