I\'m using a Pandas DataFrame to do a row-wise t-test as per this example:
DataFrame
import numpy import pandas df = pandas.DataFrame(numpy.log2(numpy.ra
Returning a Series, rather than tuple, should produce a new multi-column DataFrame. For example,
return pandas.Series({'pvalue': pvalue, 'mean_ratio': mean_ratio})