Closed spleshakov closed 3 years ago
In order to expedite the trouble-shooting process, please provide a code snippet to reproduce the issue reported here. Thanks!
@rthadur it's in the description. Do you need anything else apart from that?
I see you are using danfojs, I don't see a reference where you are using tfjs , could you please provide a codepen example or GitHub test repo where we can reproduce the behavior ? Thank you
I see you have resolved the issue in the reference issue and not related to tfjs we are closing this issue , thank you .
According to https://js.tensorflow.org/api/latest/#data.csv
csvConfig.columnConfigs[columnHeader].dtype
can be any value ofint32, float32, bool, or string
However, this switch clause https://github.com/tensorflow/tfjs/blob/623da7ecbada115425888c62bd65df685e2bdd75/tfjs-data/src/datasets/csv_dataset.ts#L253 has all specified values but
string
. Default -parsedValue = valueAsNum;
This also doesn't work in practice, when I use danfojs like so:
service_areas.csv
javascript
results in output