/python_for_dh

Primary LanguageJupyter Notebook

INTRODUCTION TO PYTHON FOR HUMANISTS

This repository is a free JupyterBook that introduces readers to Python. It presumes no knowledge on the part of the reader about programming in general or knowledge of data.

Table of Contents

PREFACE

Preface

PART ONE: The Basics of Python

  1. Introduction to Python
  2. Data and Data Structures
  3. Loops and Logic
  4. Formal Coding: Functions, Classes, and Libraries
  5. Formal Coding: Functions, Classes, and Libraries
  6. Working with Data on the Web

PART TWO: Data Analysis with Pandas (Work in Progress)

  1. Introduction to Pandas
  2. Working with Data in Pandas
  3. Searching for Data
  4. Advanced Pandas

PART THREE: Natural Language Processing with spaCy

  1. Introduction to spaCy
  2. Rules-Based spaCy
  3. Solving a Domain-Specific Problem: A Case Study with Holocaust NER

PART FOUR: OTHER APPLICATIONS OF PYTHON

  1. Topic Modeling in Python
  2. Text Analysis with BookNLP
  3. Social Network Analysis

PART FIVE: DESIGNING AN APPLICATION WITH STREAMLIT

  1. Introduction to Streamlit
  2. Advanced Streamlit Features
  3. Building a Database Query Application

How to Cite

Mattingly, William. Introduction to Python for Digital Humanities, 2022. python-textbook.pythonhumanities.com.

Acknowledgments

This Python Textbook was created during my postdoctoral fellowship at the Smithsonian Institution's Data Science Lab with collaboration at the United States Holocaust Memorial Museum. It would not have been possible without the help of Rebecca Dikow, Mike Trizna, and those in the Data Science Lab who listened to, aided, and advised me while creating these notebooks. I would also like to thank the content experts at the USHMM, specifically Michael Haley Goldman, Michael Levy, and Robert Ehrenreich.

Data Science Lab Smithsonian USHMM
data science logo smithsonian logo ushmm logo