Module # must be added in the tags option of the post. (ex: Module-1)
Link to the classroom item you are referring to:
Description (include relevant info but please do not post solution code or your entire notebook)
running code in own setup.
imported helper_functions, which contains display_table
When called, with csv file contents as param
I see
<IPython.core.display.HTML object>
Name of the module and name of the lesson which you are referring to.
For running it on your own setup, have you taken the files from Coursera or the DLAI’s learning platform? And which files have you downloaded? Name all of them.
Share a screenshot of the code you are trying to run, including the output you are seeing.
Hi DPawson,
your description of the problem is not very clear. I can only guess that you might have a problem with helper_functions.
display_table in helper_functions needs
import pandas as pd
from IPython.display import display, HTML
Maybe helper_functions in your local environment is not working. You must also install pandas.
No module / lesson, using my own code
Downloaded helper_functions.py from coursera (why isn’t there a complete version available please?
imports
from openai import OpenAI
from helper_functions import get_llm_response, print_llm_response, display_table
from IPython.display import Markdown
import csv
import os, sys
Dict created from my own csv file,
then attempt to show it
I’m not sure what you mean by “complete” here ? Everything is completely present on Coursera (and the Learning Platform), which is why everything runs there. If it wasn’t complete, there would be errors.