This function implements quantile normalization in python matrix (Pandas DataFrame)
Input data is a Pandas dataframe (df). Each row stands for an observations and each column stands for an attribute
from Quantile_Normalize.quantile_norm import quantileNormalize
result = quantileNormalize(df)
Pretty simple logic but relatively high efficiency
Thanks for the following:
Ranking of numpy array with possible duplicates
This solves the problem of quantile normalization on pandas dataframe
Thanks for the help of Mr. Tan