Let's now move on to look at how to build our model.
- After reading the data, we use the head() function to take a look it:
df_messages.head(3)
In the following screenshot, we can see that there are two columns: labels and message. The output is as follows:
- We then use the describe() function to look at a few metrics in each of the columns:
df_messages.describe()
This gives us the following metrics: