Page 16 - ChatGPT Prompts Book: Precision Prompts, Role Prompting, Training & AI Writing Techniques for Mortals
P. 16
Step 3: Copy code into a text editor such as Jupyter
Notebook
Step 4: Run code
Example 2: Generating a table
Let’s now use ChatGPT to quickly convert text into a table.
Step 1: Source data from a spreadsheet, public dataset,
Wikipedia, chat log, or another source. The names of the
columns should be placed on the first line, with information
for each row positioned below.
Step 2: Copy and paste the data into ChatGPT and add the
text prompt below.
Prompt: Convert into a dataset: