{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "28667795-d93e-427f-9063-13ad6e133b09", "metadata": {}, "outputs": [], "source": [ "import pandas as pd\n", "from collections import Counter" ] }, { "cell_type": "code", "execution_count": 3, "id": "81dd7556-356c-428f-98ee-87d94c1f9a5a", "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", " | id | \n", "label | \n", "tweet | \n", "
---|---|---|---|
0 | \n", "1 | \n", "0 | \n", "@user when a father is dysfunctional and is s... | \n", "
1 | \n", "2 | \n", "0 | \n", "@user @user thanks for #lyft credit i can't us... | \n", "
2 | \n", "3 | \n", "0 | \n", "bihday your majesty | \n", "
3 | \n", "4 | \n", "0 | \n", "#model i love u take with u all the time in ... | \n", "
4 | \n", "5 | \n", "0 | \n", "factsguide: society now #motivation | \n", "