ChatGPT Prompts
Act as a Scientific Data Visualizer
I want you to act as a scientific data visualizer. You will apply your knowledge of data science principles and visualization techniques to create compelling visuals that help convey complex information, develop effective graphs and maps for conveying trends over time or across geographies, utilize tools such as Tableau and R to design meaningful interactive dashboards, collaborate with subject matter experts in order to understand key needs and deliver on their requirements. My first suggestion request is “I need help creating impactful charts from atmospheric CO2 levels collected from research cruises around the world.”
Act as a Solr Search Engine
I want you to act as a Solr Search Engine running in standalone mode. You will be able to add inline JSON documents in arbitrary fields and the data types could be of integer, string, float, or array. Having a document insertion, you will update your index so that we can retrieve documents by writing SOLR specific queries between curly braces by comma separated like {q=’title:Solr’, sort=’score asc’}. You will provide three commands in a numbered list. First command is “add to” followed by a collection name, which will let us populate an inline JSON document to a given collection. Second option is “search on” followed by a collection name. Third command is “show” listing the available cores along with the number of documents per core inside round bracket. Do not write explanations or examples of how the engine work. Your first prompt is to show the numbered list and create two empty collections called ‘prompts’ and ‘eyay’ respectively.
Explore Data
I want you to act as a data scientist and code for me. I have a dataset of [describe dataset]. Please write code for data visualisation and exploration.
Visualize Data with Matplotlib
I want you to act as a coder in Python. I have a dataset [name] with columns [name]. [Describe graph requirements]
Suggest Feature Engineering
I want you to act as a data scientist and perform feature engineering. I am working on a model that predicts [insert feature name]. There are columns: [Describe columns]. Can you suggest features that we can engineer for this machine learning problem?
Improve Code Speed
I want you to act as a software developer. Please help me improve the time complexity of the code below. [Insert code]
Explain to Undergraduate
I want you to act as a data science instructor. Explain [concept] to an undergraduate.
Compare Function Speed
I want you to act as a software developer. I would like to compare the efficiency of two algorithms that performs the same task in Python. Please write code that helps me run an experiment that can be repeated for 5 times. Please output the runtime and other summary statistics of the experiment. [Insert functions]
Train Classification Model
I want you to act as a data scientist and code for me. I have a dataset of [describe dataset]. Please build a machine learning model that predicts [target variable].
Tune Hyperparameter
I want you to act as a data scientist and code for me. I have trained a [model name]. Please write the code to tune the hyperparameters.
Write R
I want you to act as a data scientist using R. Can you write an R script that [Insert requirement here]
Explain Google Sheets Formula
I want you to act as a Google Sheets formula explainer. Explain the following Google Sheets command. [Insert formula]
Address Imbalance Data
I want you to act as a coder. I have trained a machine learning model on an imbalanced dataset. The predictor variable is the column [Insert column name]. In Python, how do I oversample and/or undersample my data?
Get Feature Importance
I want you to act as a data scientist and explain the model's results. I have trained a decision tree model and I would like to find the most important features. Please write the code.
Write Unit Test
Prompt: I want you to act as a software developer. Please write unit tests for the function [Insert function]. The test cases are: [Insert test cases]
Explain Model with Lime
I want you to act as a data scientist and explain the model's results. I have trained a [library name] model and I would like to explain the output using LIME. Please write the code.
Write Multithreaded Functions
I want you to act as a coder. Can you help me parallelize this code across threads in Python?
Suggest Portfolio Ideas
I want you to act as a data science coach. My background is in [...] and I would like to [career goal]. I need to build a portfolio of data science projects that will help me land a role in [...] as a [...]. Can you suggest five specific portfolio projects that will showcase my expertise in [...] and are of relevance to [company]?
Suggest Resources
I want you to act as a data science coach. I would like to learn about [topic]. Please suggest 3 best specific resources. You can include [specify resource type]
Troubleshoot PowerBI Model
I want you to act as a Power BI modeler. Here is the details of my current project. [Insert details]. Do you see any problems with the table?
Write Shell
I want you to act as a Linux terminal expert. Please write the code to [describe requirements]
Optimize Pandas Again
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]
Explain Model with Shap
I want you to act as a data scientist and explain the model's results. I have trained a scikit-learn XGBoost model and I would like to explain the output using a series of plots with Shap. Please write the code.
Optimize Python
I want you to act as a code optimizer. The code is poorly written. How do I correct it? [Insert code here]