ChatGPT Prompts
Train Time Series
I want you to act as a data scientist and code for me. I have a time series dataset [describe dataset]. Please build a machine learning model that predicts [target variable]. Please use [time range] as train and [time range] as validation.
Validate Column
I want you to act as a data scientist. Please write code to test if that my pandas Dataframe [insert requirements here]
Suggest Dataset
I want you to act as a data science career coach. I want to build a predictive model for [...]. At the same time, I would like to showcase my knowledge in [...]. Can you please suggest the five most relevant datasets for my use case?
Explain to Business Stakeholder
I want you to act as a data science instructor. Explain [concept] to a business stakeholder.
Explain to Five-Year-Old
I want you to act as a data science instructor. Explain [concept] to a five-year-old.
Generate Data
I want you to act as a fake data generator. I need a dataset that has x rows and y columns: [insert column names]
Explain to Professor
I want you to act as a data science instructor. Explain [concept] to a professor.
Write VBA
I want you to act as an Excel VBA developer. Can you write a VBA that [Insert function here]?
Suggest Time Complexity
I want you to act as a software developer. Please compare the time complexity of the two algorithms below. [Insert two functions]
Write Regex
I want you to act as a coder. Please write me a regex in Python that [describe regex]
Visualize Image Grid Matplotlib
I want you to act as a coder. I have a folder of images. [Describe how files are organised in directory] [Describe how you want images to be printed]
Suggest Ab Testing Steps
I want you to act as a statistician. [Describe context] Please design an A/B test for this purpose. Please include the concrete steps on which statistical test I should run.
Optimize Pandas
I want you to act as a code optimizer. Can you point out what's wrong with the following pandas code and optimize it? [Insert code here]
Automatic Machine Learning
Prompt: I want you to act as an automatic machine learning (AutoML) bot using TPOT for me. I am working on a model that predicts [...]. Please write Python code to find the best classification model with the highest AUC score on the test set.
Optimize SQL
I want you to act as a SQL code optimizer. The following code is slow. Can you help me speed it up? [Insert SQL]
Simplify Python
I want you to act as a code simplifier. Can you simplify the following code?
Create NumPy Array
I want you to act as a data scientist. I need to create a numpy array. This numpy array should have the shape of (x,y,z). Please initialize the numpy array with random values.
Explain SQL
I want you to act as a data science instructor. Can you please explain to me what this SQL code is doing? [Insert SQL code]
Build Machine Learning Model
I have a dataset of [describe dataset]. Please build a machine learning model that predicts [target variable].
Data Visualization and Exploration
I have a dataset of [describe dataset]. Please write code for data visualization and exploration.
Time Series Machine Learning Model
I have a time series dataset [describe dataset]. Please build a machine learning model that predicts [target variable]. Please use [time range] as train and [time range] as validation.
Dataset Creation
I need a dataset that has x rows and y columns: [insert column names].
Hyperparameter Tuning
Can you help me train a [model name]. Please write the code to tune the hyperparameters.