I'm really struggling to get this to print the way I want to. I've read through the documentation on removing index, but it seems like it still shows up. Here is my code:
quotes = pd.read_csv("quotes.txt",header = None, index_col = False)
quote_to_send = quotes.sample(ignore_index = True)
print(quote_to_send)
The text file isn't anything special, looks like this:
"When you arise in the morning think of what a privilege it is to be alive, to think, to enjoy, to love..." - Marcus Aurelius
"Either you run the day or the day runs you." - Jim Rohn
....
The output of this looks like this:
0
0 You may have to fight a battle more than once ...
How do I get rid of those random 0s?