3 ms·
I would add jq to the data wrangling section https://stedolan.github.io/jq/ https://stedolan.github.io/jq/ Being moderately competant at jq on a team that does
by ukoki 4y ago
I would add jq to the data wrangling section https://stedolan.github.io/jq/ https://stedolan.github.io/jq/
Being moderately competant at jq on a team that doesn't know jq is a super power.
- throwaway675309 4y agoIncidentally I found that chat GPT is excellent for asking for complex csv/json transformation queries and having it spit out the correct script.
- noisenotsignal 4y agoAny reason why you would use jq over Python? Certainly this can be attributed to my lack of knowledge in jq, but anything beyond a simple query is going to be done with Python for me. Beyond not having to look up query syntax, doing it in Python (or any script) is easier to read (both during and after writing it) due to auto formatting in an editor.
- Izkata 4y ago> Any reason why you would use jq over Python? To give an example from another context: This is a bit like asking "why would you use document.querySelector() instead of just looping over childNodes directly?"
- ukoki 4y agoReadability is important if you're writing actual code, but for things like debugging a giant JSON blob from an API request JQ is far faster IMHO.