terrierteam / pyterrier_colbert

82 stars 35 forks source link

Unable to view the full query_toks #72

Open talk2much opened 3 months ago

talk2much commented 3 months ago

Hello, I got the results after colbert prf, eg: query_toks=[##´, vinegar, baking, reactions, substances,... According to the contents of the document there should be 10 query_toks but I cannot see all query_toks until the ellipses are not displayed. If I want to see the full query_toks and query_embs, what parameters should I change

cmacdonald commented 3 months ago

isnt this a Pandas display problem? So you can ask the dataframe to give you the raw value

print(df.iloc[0]['query_toks'])

?