You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CedricJean edited this page May 22, 2020
·
1 revision
Les fichiers Universal Data Tool s'intègre facilement avec pandas. Tout d'abord, exporte exporte ton projet en fichier *.udt.csv. Puis utilise quelque chose comme ce qui suit.
>>>importpandasaspd>>>df=pd.read_csv("./myfile.udt.csv")
>>>df[df["path"].str.match("samples")]
path . documentoutput.label1samples.0NaNWowthisisterrible. Ihatedit. negative_sentiment2samples.1NaNThishasmademesohappy. Ilovethis. positive_sentiment3samples.2NaNAtfirstIwasn't sure. Then I thought, oh it'... negative_sentiment