Forum Discussion
cyborgdroid
7 years agoFrequent Visitor
Python - groupby function not working
I am trying to rank within a group in python. I know how to do this outside of python in powerBI, and also how to do it in python but the python script function yields errors. I tried using groupby +...
cyborgdroid
7 years agoFrequent Visitor
Maybe there is some syntax issue that I am missing? If this isn't working in python then perhaps a lot of things won't work with python in PBI since this is a very basic pandas function that does not require importing any external libraries. PBI imports pandas by default and uses pandas dataframes as the default data structure.