This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Visualizing Data""" | |
import matplotlib.pyplot as plt | |
from collections import Counter | |
## Bar charts | |
def make_chart_simple_bar_chart(plt): | |
movies = ["Annie Hall", "Ben-Hur", "Casablanca", "Gandhi", "West Side Story"] | |
num_oscars = [5, 11, 3, 8, 10] |
Big-O Cheat Sheet
Big-O Quiz - good links to external resources
Big-O Complexities Poster
Z-Algorithm - Try in Python; implement in Haskell?
Nature-Inspired Algorithms
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.db import models | |
class Member(models.Model): | |
# RE: null vs blank | |
# | |
# NULL https://docs.djangoproject.com/en/1.10/ref/models/fields/#null | |
# Avoid using null on string-based fields such as CharField and TextField because | |
# empty string values will always be stored as empty strings, not as NULL. | |
# |