.pop()
on a pandas dataframe
.pop(key)
on a python dictionary, but didnt realize you could call it on a dataframe as well. Performs same as it would on a dictionary; returns series and removes series from original dataframeI was reading some stuff in scikit learn's docs, and they used a '%' oddly, so I looked it up. Apparently:
If the first argument is a string, it formats it using the second argument. This is a bit involved, so I will refer to theĀ documentation, but just as an example:
>>> "foo %d bar" % 5
'foo 5 bar'
That's the absolute worst, please never use this.