I am trying to make a simple scheduler with pandas datafram. When calling the pandas.loc function for a specific element in the dataframe it outputs the element with the index.
df.loc[df['days'] == 'tuesday','task']
This is the output
'0 Go for a run'
As i want to use the output as a string, is there a way to remove the index. Or a different function to use. What i want the output to be is just -
'Go for a run'