{ "cells": [ { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [], "source": [ "import pandas as pd\n", "import matplotlib.pyplot as plt\n" ] }, { "cell_type": "code", "execution_count": 24, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", " | label | \n", "comment | \n", "user | \n", "subreddit | \n", "date | \n", "sup_comment | \n", "prediction | \n", "confidence | \n", "Topic_key_word | \n", "
---|---|---|---|---|---|---|---|---|---|
0 | \n", "0 | \n", "Actually most of her supporters and sane peopl... | \n", "Quinnjester | \n", "politics | \n", "2016-09 | \n", "Hillary's Surrogotes Told to Blame Media for '... | \n", "0 | \n", "0.974983 | \n", "TODO 2 | \n", "
1 | \n", "0 | \n", "They can't survive without an echo chamber whi... | \n", "TheGettysburgAddress | \n", "The_Donald | \n", "2016-11 | \n", "Thank God Liberals like to live in concentrate... | \n", "1 | \n", "0.956885 | \n", "TODO 2 | \n", "
2 | \n", "0 | \n", "you're pretty cute yourself 1729 total | \n", "Sempiternally_free | \n", "2007scape | \n", "2016-11 | \n", "Saw this cutie training his Attack today... | \n", "0 | \n", "0.899885 | \n", "TODO 2 | \n", "
3 | \n", "0 | \n", "If you kill me you'll crash the meme market | \n", "Catacomb82 | \n", "AskReddit | \n", "2016-10 | \n", "If you were locked in a room with 49 other peo... | \n", "0 | \n", "0.905721 | \n", "TODO 2 | \n", "
4 | \n", "0 | \n", "I bet he wrote that last message as he was sob... | \n", "Dorian-throwaway | \n", "niceguys | \n", "2016-11 | \n", "You're not even that pretty! | \n", "1 | \n", "0.589593 | \n", "TODO 2 | \n", "
... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "
251603 | \n", "1 | \n", "Respect your elders you little snot. | \n", "Tiffany_Butler | \n", "sports | \n", "2009-06 | \n", "Aren't you a little old to be on the internet,... | \n", "1 | \n", "0.852649 | \n", "TODO 1 | \n", "
251604 | \n", "1 | \n", "I'm just glad they won't be using taxpayer mon... | \n", "harryballsagna | \n", "canada | \n", "2009-06 | \n", "\"I'm sorry, I can't hear you over the sound of... | \n", "1 | \n", "0.974458 | \n", "TODO 0 | \n", "
251605 | \n", "1 | \n", "what.. with this awesome narration? | \n", "aberant | \n", "lost | \n", "2009-04 | \n", "So far, so lame. | \n", "1 | \n", "0.809398 | \n", "TODO 1 | \n", "
251606 | \n", "1 | \n", "He looks trustworthy. | \n", "permaculture | \n", "unitedkingdom | \n", "2009-01 | \n", "\"I don't care\" says Lapland boss | \n", "1 | \n", "0.979738 | \n", "TODO 4 | \n", "
251607 | \n", "1 | \n", "Well yeah, but it'll work this time. | \n", "SovereignMan | \n", "politics | \n", "2009-02 | \n", "When their efforts failed, as they usually did... | \n", "1 | \n", "0.975283 | \n", "TODO 1 | \n", "
5000 rows × 9 columns
\n", "