1

I need to ask a question related to a DataFrame. I tried to add screenshots before but I got -3 reputation and it says I am not allowed to upload the image. What is the best way then. I am new to stack overflow. Please help.

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
Rashida
  • 401
  • 7
  • 18
  • generally, you should not post a screenshot of a DataFrame. It's better if you can post a portion of that DataFrame in plain text. That way people can copy that and feed to their code. Also, this should be asked on meta site. – Quang Hoang Mar 28 '19 at 19:48

1 Answers1

1

You could either provide the code the generate sample data or you could do print(df) and paste the result with code format as a part of your question. For us it is possible to copy a dataframe as text a load it into a proper dataframe. Usually you can provide less than 20 rows of sample data and that should be enough to replicate the desired output

Yuca
  • 6,010
  • 3
  • 22
  • 42