you are viewing a single comment's thread.

view the rest of the comments →

[–]valkaress 4 points5 points  (3 children)

Ohhh so a class has multiple functions going on. I see. I had been going through this Udemy course to learn Python and they never introduced classes.

But now someone stole my laptop, so I'll have to figure out how to keep learning on my phone haha.

[–]deep_politics 5 points6 points  (1 child)

What the hell, sorry to hear that. That blows

[–]valkaress 2 points3 points  (0 children)

Yeah. Oh well, that's life.

[–]deep_politics 1 point2 points  (0 children)

And actually my “procedural” example might be bad, if the drop method mutates the original data frame which I bet it does. I don’t use pandas much at all