Regressão linear com dataframe de pandas

Eu tenho um dataframe em pandas que estou usando para produzir um gráfico de dispersão e quero incluir uma linha de regressão para o gráfico. Agora eu estou tentando fazer isso com polyfit.

Aqui está meu código:

import pandas as pd
import matplotlib
import matplotlib.pyplot as plt
from numpy import *

table1 = pd.DataFrame.from_csv('upregulated_genes.txt', sep='\t', header=0, index_col=0)
table2 = pd.DataFrame.from_csv('misson_genes.txt', sep='\t', header=0, index_col=0)
table1 = table1.join(table2, how='outer')

table1 = table1.dropna(how='any')
table1 = table1.replace('#DIV/0!', 0)

# scatterplot
plt.scatter(table1['log2 fold change misson'], table1['log2 fold change'])
plt.ylabel('log2 expression fold change')
plt.xlabel('log2 expression fold change Misson et al. 2005')
plt.title('Root Early Upregulated Genes')
plt.axis([0,12,-5,12])

# this is the part I'm unsure about
regres = polyfit(table1['log2 fold change misson'], table1['log2 fold change'], 1)

plt.show()

Mas recebo o seguinte erro:

TypeError: cannot concatenate 'str' and 'float' objects

Alguém sabe onde estou errado aqui? Eu também não tenho certeza de como adicionar a linha de regressão ao meu gráfico. Quaisquer outros comentários gerais sobre o meu código também seriam muito apreciados, eu ainda sou um iniciante.

questionAnswers(1)

yourAnswerToTheQuestion