rank

|

Rank a Place Visited By a Customer- Microsoft SQL Server – T-Transact

This is a short guide to getting ranking or rating from Microsoft Sql Server customers. Ranking is taken by checking how many times a customer has visited a particular country divided by the total number of travels the customer has made within the database   /*make a back up of the recommender rankings table*/ truncate…

|

Rank Sort Series DataFrames in Python Pandas Numpy

  In this quick notes, we will have a look at Rank and Sort in Series and DataFrames in Python In [1]: import numpy as np import pandas as pd from pandas import Series, DataFrame   In [3]: #make a series ser1 = Series(range(3), index=[‘C’,’A’,’B’]) ser1   Out[3]: C 0 A 1 B 2 dtype: int32 In [4]:…