Hani Park commited on
Commit
e2a2c69
·
1 Parent(s): fd83499

Fix usage part in README

Browse files
Files changed (1) hide show
  1. README.md +2 -1
README.md CHANGED
@@ -83,6 +83,7 @@ First, from the command line install the `datasets` library
83
 
84
  then, from within python load the datasets library.
85
 
 
86
  >>> from datasets import load_dataset, Features, Value
87
 
88
  Specifiy column types to prevent pyarrow error.
@@ -90,7 +91,7 @@ Specifiy column types to prevent pyarrow error.
90
  features = Features({
91
  "Type": Value("string"),
92
  "DatasetName": Value("string"),
93
- "AID": Value("int64"),
94
  "ID": Value("string"),
95
  "IDType": Value("string"),
96
  "SMILES": Value("string")
 
83
 
84
  then, from within python load the datasets library.
85
 
86
+ >>> import datasets
87
  >>> from datasets import load_dataset, Features, Value
88
 
89
  Specifiy column types to prevent pyarrow error.
 
91
  features = Features({
92
  "Type": Value("string"),
93
  "DatasetName": Value("string"),
94
+ "AID": Value("string"), # Treat this as string to deal with NaN values
95
  "ID": Value("string"),
96
  "IDType": Value("string"),
97
  "SMILES": Value("string")