Best practices: Parsing csv files for input data #1355
Unanswered
afuetterer
asked this question in
Q&A
Replies: 2 comments
-
|
Hi @afuetterer, Thanks for the suggestion we will implement this for the next release. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Hi @afuetterer, the release 0.9.1 that is now available includes this feature. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there, I have another question after playing around with the examples.
I saw in the tutorial, that it is possible to read input data from a file:
https://ibm.github.io/prompt-declaration-language/tutorial/#input-from-file-or-stdin
Is it possible to read data from from a csv file without importing a library or adding custom functions?
There are parsers for json, yaml, jsonl, and regex. How would I best start to read a csv file, and keep column information?
I suppose csv could be translated to json,yaml or jsonl. But is there another way to try? At my institute there are a lot of people using csv files. I think it would be very nice to introduce pdl to them, as easy as possible.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions