{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "0e1a6b29", "metadata": {}, "outputs": [], "source": [ "import pandas as pd" ] }, { "cell_type": "code", "execution_count": 3, "id": "e1144184", "metadata": {}, "outputs": [], "source": [ "url = \"https://github.com/marcoguerini/CONAN/raw/master/Multitarget-CONAN/Multitarget-CONAN.csv\"\n", "\n", "df = pd.read_csv(url, index_col=[0])" ] }, { "cell_type": "code", "execution_count": 4, "id": "8ec0dfff", "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
HATE_SPEECHCOUNTER_NARRATIVETARGETVERSION
INDEX
0Maybe the UN could talk to those asian and afr...You're right, ocean pollution is one of the ma...otherV1
1‘Juice (Jews) are worse that nukes.’ Caption t...You'd rather be nuked then?JEWSV1
2Foreigners on UK benefits leaps 41% in 5 years...You seem to be worried about government expend...MIGRANTSV1
3Jews cannot be patriots, since their allegianc...You can have parents and grandparents born els...JEWSV1
4Israel, Zionism and Jewish Supremacist control...Wouldn't you say its colonialism from many dif...JEWSV1
...............
4998Woman are basically childlike.They are not childlike and are capable of grea...WOMENV6_mix
4999women should be submissive to men.There are many women who want to be \"submissiv...WOMENV6_mix
5000Women are essentially childlike, unable to und...Maybe you should try talking to a woman instea...WOMENV6_mix
5001Women should be submissive to men.Women are human beings deserving respect and e...WOMENV6_mix
5002Women should not be allowed to vote, this is a...I don't think that a country can be 'male domi...WOMENV6_mix
\n", "

5003 rows × 4 columns

\n", "
" ], "text/plain": [ " HATE_SPEECH \\\n", "INDEX \n", "0 Maybe the UN could talk to those asian and afr... \n", "1 ‘Juice (Jews) are worse that nukes.’ Caption t... \n", "2 Foreigners on UK benefits leaps 41% in 5 years... \n", "3 Jews cannot be patriots, since their allegianc... \n", "4 Israel, Zionism and Jewish Supremacist control... \n", "... ... \n", "4998 Woman are basically childlike. \n", "4999 women should be submissive to men. \n", "5000 Women are essentially childlike, unable to und... \n", "5001 Women should be submissive to men. \n", "5002 Women should not be allowed to vote, this is a... \n", "\n", " COUNTER_NARRATIVE TARGET VERSION \n", "INDEX \n", "0 You're right, ocean pollution is one of the ma... other V1 \n", "1 You'd rather be nuked then? JEWS V1 \n", "2 You seem to be worried about government expend... MIGRANTS V1 \n", "3 You can have parents and grandparents born els... JEWS V1 \n", "4 Wouldn't you say its colonialism from many dif... JEWS V1 \n", "... ... ... ... \n", "4998 They are not childlike and are capable of grea... WOMEN V6_mix \n", "4999 There are many women who want to be \"submissiv... WOMEN V6_mix \n", "5000 Maybe you should try talking to a woman instea... WOMEN V6_mix \n", "5001 Women are human beings deserving respect and e... WOMEN V6_mix \n", "5002 I don't think that a country can be 'male domi... WOMEN V6_mix \n", "\n", "[5003 rows x 4 columns]" ] }, "execution_count": 4, "metadata": {}, "output_type": "execute_result" } ], "source": [ "df" ] } ], "metadata": { "kernelspec": { "display_name": "sexism_detection", "language": "python", "name": "sexism_detection" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.9.15" } }, "nbformat": 4, "nbformat_minor": 5 }