-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUS Drug OD Prompts
23 lines (22 loc) · 993 Bytes
/
US Drug OD Prompts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
## ChatGpt list of prompts for US Drug Overdoes Deaths (1992 - 2020)
```
Import the necessary libraries
Load the overdose death data
Examine the data
Drop the 'notes' column
Check for null values
Drop null values
Convert the data types of the columns
Check the data types of the columns
Plot the number of overdose deaths per year
Plot the number of overdose deaths per year, grouped by the type of drug involved
Create a new dataframe that doesn't include the year column
Create a line plot for each column in the new dataframe
Change the line plots to be displayed in a grid
Change the line plots to be displayed in a 3x3 grid
Change the line plots to be displayed in a 2x2 grid
Create histograms for each column in the new dataframe
Change the histograms to be displayed in a grid
Change the histograms to be displayed in a 2x2 grid
Increase the size of the histogram figures by 25%
Suggest another plot type