How to create dataset with specifying features
I have a pandas dataframe with an id column (a string). I just want to try out how to specify features for creating a dataset:features = Features({'id': Value('string')})
Dataset.from_pandas(df[['id']], features=features)But got error:TypeError: argument of type ‘Value’ is not iterableIs there any specific tutorial showing how to do this?
2022-04-20T15:23:34Z
False alarm. I restarted my runtime and only import whatever i need in order to isolate modules, and the problem goes away. So I am suspecting there may be name conflict with another library.