Claude and ChatGPT Data Analysis Prompts
Claude and ChatGPT Data Analysis Prompts
& CHATGPT
DATA ANALYSIS PROMPTS
DATA ANALYSIS PROMPTS
Analyzing Datasets
Task Description Prompt
Load and preview the data Can you load and preview the data?
Explain this dataset in one paragraph Can you explain this dataset in one paragraph?
Explain this dataset in simple terms Can you explain this dataset in simple terms?
Explain this dataset like I'm 5 years old Can you explain this dataset like I'm 5 years old?
Identify the main takeaway What’s the main takeaway from this dataset?
Describe the rows and columns What are the rows and columns in this dataset?
Provide insights What insights do you see here? Give me a numbered list."
Turn into Article Can you write me an article based on this dataset?
Quick recap Can you write a one sentence recap of this data?
Segment Data Can you segment this data and create a table?
Beautify the graphs Can you make the graphs more beautiful?
Show trends in a visual format Show me the top trends in a visual format
Load and preview the data Can you load and preview the data?
Plot the closing price Can you plot the closing price?
Find the date with the highest closing price What's the date with the highest closing price?
Calculate the percentage change Can you calculate the daily percentage change
Find the largest single day gain and loss What's the largest single day gain and loss?
Compare price with volume Can you compare the closing price with volume?
Decompose the time series Can you decompose the closing price time series?
Test for stationarity Can you test for stationarity using the Augmented Dickey-
Fuller test?
Autocorrelation and partial Can you show the autocorrelation and partial autocorrelation
autocorrelation plots plots?
Implement a time series model Can you implement an ARIMA model to predict future
prices?
Plot Bollinger Bands Can you plot Bollinger Bands?
Find important dates Can you identify dates of significant changes in volume or
price?
Plot a histogram of the daily returns Can you plot a histogram of daily returns?
Rolling window operations Can you perform a rolling sum over a 7-day window?
Price Increase What's the duration of the fastest price increase from low to
high?
Price Decrease What's the duration of the fastest price decrease from high
to low?
DATA ANALYSIS PROMPTS
Image Editing and Alteration
Task Description Prompt
Main colors Identify the main colors and objects in the image.
Compare Images Compare this image with another one for similarities or
differences.
Change Color Scheme Change the image's color scheme from RGB to grayscale.
Break down the image Break the image down into its separate parts or objects.
Find Edges Use edge detection to find the boundaries in the image.
Examine Texture Examine the image's texture for use in image processing
tasks.
Resize Image Resize the image to specific dimensions (insert pixels here).
Crop without distortion Crop the image without distorting its aspect ratio.
Convert to black and white Convert this image to black and white.
Apply filters Apply artistic effects to the image (such as oil painting
effect).
Add text Overlay text onto the image.
Transform into color palette Transforms this photos into a color palette and export a PNG
DATA ANALYSIS PROMPTS
Analyzing Code
Task Description Prompt
Explain it Can you explain this code
Key Purpose What's the key purpose for this code?
Suggest improvements Can you review the code and suggest improvements
Extract Functions Extract all the function definitions from the code.
List Modules Find and list all the imported modules in the code.
Fun Functions Run specific functions or methods in the code (if applicable).
Find Errors Analyze the code for potential errors or inefficiencies.
Modify Modify the code (e.g., implement a new function, adjust
existing logic).
Explain specific sections Explain what specific sections or lines of code are doing.
Test it Test the code with different input parameters.
Create Flowchart Create a flowchart or diagram to visualize the code
execution.
Explain any class Identify and explain any classes and their methods in the
code.
Check against guidelines Check if the code follows PEP8 style guidelines.
Find potential Errors Find the lines of code that are most likely to throw
exceptions.
Find security issues Identify any potential security issues in the code.
Identify dependencies Identify the dependencies of this script.
Give time estimate Provide an estimate of how long the script will run with
certain inputs.
Suggest improvements Suggest ways to optimize or refactor the code for better
performance or readability.
Create a test Create a unit test for a specific function or method.
Identify main algorithm Identify the main algorithm(s) used in the code and explain
how they work.
Explain structure Explain any complex data structures used in the code.
Identify any potential multithreading Identify any potential multithreading or multiprocessing
opportunities.
DATA ANALYSIS PROMPTS
Converting File Types
Task Description Prompt