If I have a python dataframe and I am need to print out the column and row and v
ID: 3795288 • Letter: I
Question
If I have a python dataframe and I am need to print out the column and row and value to a print statement how do I?
Let's say I have the following dataframe
I am trying to print out the "results"....
I need to print it our such that I would get something like the following so that it iterates over every value in the dataframe.
Apple Daily 2
Apple Weekly 5
Apple Yearly 200
Orange Daily 1
Orange Weekly 3
Orange Yearly 100
..
...
....
I am totally drawing a blank and having problems even knowing how to phrase the question properly. I am new to Python but am needing to do this through a dataframe if possible.
EA DAILY W WEEKLY YEARLY Fruit APPLE ORANGE BANANA PEAR 2 1 1 0 200 100 150 40 4 1Explanation / Answer
# pastebin link: http://pastebin.com/UFuxYYBy
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.