feat: add lesson 3

This commit is contained in:
rzmk 2025-03-29 17:45:00 -04:00
parent 8302a54e69
commit a1713745ef
9 changed files with 273 additions and 8 deletions

71
lessons/3/exercise.ipynb Normal file
View file

@ -0,0 +1,71 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Exercise 3: qsv and JSON\n",
"\n",
"Generate CSV data from `flowers.json` and pipe the output into `qsv table`."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"qsv json --help"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"We have nested data in `flowers_nested.json`. Generate CSV data from the file with only roses data and pipe the output into `qsv table`."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"vscode": {
"languageId": "plaintext"
}
},
"outputs": [],
"source": []
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Generate JSON data from `buses.csv`."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"qsv slice --help"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Bash",
"language": "bash",
"name": "bash"
},
"language_info": {
"codemirror_mode": "shell",
"file_extension": ".sh",
"mimetype": "text/x-sh",
"name": "bash"
}
},
"nbformat": 4,
"nbformat_minor": 4
}