df = pd.read_csv(fh, na_values="N/A", sep="\t", header=None)
if len(list(df.columns.values)) != len(names):
raise ValueError("The amount of data you have supplied does not match"
" the number of columns.")
After Change
"" % (column, possible_columns))
df.replace("nan", np.nan, inplace=True)
try:
df[column] = df[column].astype(_possible_columns[column])
except ValueError as e:
raise BLAST6FormatError("Could not convert column %r into dtype"
"%r. Original Pandas error message: "
""%s"" % (column,