Skip to content

JasonKessler/Scattertext-PyData

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
img
July 6, 2017 09:04
January 11, 2018 17:48
July 28, 2017 14:32

Scattertext-PyData

Notebooks for the Seattle PyData 2017 talk on Scattertext

A guide to using the python package Scattertext. If you feel so moved, please star it, fork it, or even contribute!

Check out the introductory presentation here.

Video

Watch the PyData talk here

Using the notebooks

The notebooks look best in Chrome.

Slow but interactive way

In order to use these notebooks, please execute the following commands, please clone this repo and run (in Python 3):

$ git clone https://github.com/JasonKessler/Scattertext-PyData
$ pip3 install scattertext agefromname
$ cd Scattertext-PyData
$ jupyter notebook

Fast and non-interative way

  • First Notebook how to use Scattertext to visualize differences in document types. Conventions-Visualization.html
  • Second Notebook how to use Scattertext and AgeFromName to understand how lanugage, gender and political party intersect. Gender and Party
  • Third Notebook how to use Scattertext to visualize how the same word or semantic type is discussed different between document categories. In this case, we explore how "jobs" is discussed differently by Republicans and Democrats. Word representations