| class CodeAgent: | |
| def generate_code(self, content): | |
| return f"# {content['workshop_title']} Code Labs\n\n" + \ | |
| "import pandas as pd\n\n" + \ | |
| "# Hands-on exercises for:\n" + \ | |
| "\n".join([f"# - {module['title']}" for module in content["modules"]]) |
| class CodeAgent: | |
| def generate_code(self, content): | |
| return f"# {content['workshop_title']} Code Labs\n\n" + \ | |
| "import pandas as pd\n\n" + \ | |
| "# Hands-on exercises for:\n" + \ | |
| "\n".join([f"# - {module['title']}" for module in content["modules"]]) |