Python Forum
copy of a slice from a DataFrame
Thread Rating:
  • 3 Vote(s) - 3.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
copy of a slice from a DataFrame
#2
(Feb-18-2017, 04:06 PM)metalray Wrote:
def answer_three():
        atleastonegold = df #snip

What's a df, and why isn't your error that it's undefined? Because... it's not defined.
Also, python. Like the snake. Not phyton, like... a misspelt photon. Or, another way to remember it, the file extension is ".py", not ".ph".
Reply


Messages In This Thread
copy of a slice from a DataFrame - by metalray - Feb-18-2017, 04:06 PM
RE: copy of a slice from a DataFrame - by nilamo - Feb-18-2017, 06:11 PM
RE: copy of a slice from a DataFrame - by metalray - Feb-19-2017, 04:26 PM
RE: copy of a slice from a DataFrame - by nilamo - Feb-20-2017, 04:28 PM
RE: copy of a slice from a DataFrame - by zivoni - Feb-20-2017, 11:21 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020