GlobalLogic Interview Question

dense rank and rank dataFrame numpy and series