{ "metadata": { "name": "", "signature": "sha256:68618a996de5665d650cf3d51934bda396b1168f907f5e8de5bff75bb5dfc8b6" }, "nbformat": 3, "nbformat_minor": 0, "worksheets": [ { "cells": [ { "cell_type": "code", "collapsed": false, "input": [ "import re\n", "import random\n", "import string\n", "import collections\n", "import csv" ], "language": "python", "metadata": {}, "outputs": [], "prompt_number": 17 }, { "cell_type": "code", "collapsed": false, "input": [ "WORDS = [w.strip() for w in open('/usr/share/dict/british-english').readlines() \n", " if re.match(r'^[a-z]*$', w.strip())]" ], "language": "python", "metadata": {}, "outputs": [], "prompt_number": 18 }, { "cell_type": "code", "collapsed": false, "input": [ "LETTER_COUNTS = collections.Counter(l.lower() for l in open('sherlock-holmes.txt').read() \n", " if l in string.ascii_letters)\n", "LETTERS_IN_ORDER = [p[0] for p in LETTER_COUNTS.most_common()]" ], "language": "python", "metadata": {}, "outputs": [], "prompt_number": 19 }, { "cell_type": "code", "collapsed": false, "input": [ "DICT_COUNTS = collections.Counter(l.lower() for l in open('/usr/share/dict/british-english').read() \n", " if l in string.ascii_letters)\n", "DICT_LETTERS_IN_ORDER = [p[0] for p in DICT_COUNTS.most_common()]" ], "language": "python", "metadata": {}, "outputs": [], "prompt_number": 20 }, { "cell_type": "code", "collapsed": false, "input": [ "STARTING_LIVES = 10" ], "language": "python", "metadata": {}, "outputs": [], "prompt_number": 21 }, { "cell_type": "code", "collapsed": false, "input": [ "class Game:\n", " def __init__(self, target, player=None, lives=STARTING_LIVES):\n", " self.lives = lives\n", " self.player = player\n", " self.target = target\n", " self.discovered = list('_' * len(target))\n", " self.wrong_letters = []\n", " self.game_finished = False\n", " self.game_won = False\n", " self.game_lost = False\n", " \n", " def find_all(self, letter):\n", " return [p for p, l in enumerate(self.target) if l == letter]\n", " \n", " def update_discovered_word(self, guessed_letter):\n", " locations = self.find_all(guessed_letter)\n", " for location in locations:\n", " self.discovered[location] = guessed_letter\n", " return self.discovered\n", " \n", " def do_turn(self):\n", " if self.player:\n", " guess = self.player.guess(self.discovered, self.wrong_letters, self.lives)\n", " else:\n", " guess = self.ask_for_guess()\n", " if guess in self.target:\n", " self.update_discovered_word(guess)\n", " else:\n", " self.lives -= 1\n", " if guess not in self.wrong_letters:\n", " self.wrong_letters += [guess]\n", " if self.lives == 0:\n", " self.game_finished = True\n", " self.game_lost = True\n", " if '_' not in self.discovered:\n", " self.game_finished = True\n", " self.game_won = True\n", " \n", " def ask_for_guess(self):\n", " print('Word:', ' '.join(self.discovered), \n", " ' : Lives =', self.lives, \n", " ', wrong guesses:', ' '.join(sorted(self.wrong_letters)))\n", " guess = input('Enter letter: ').strip().lower()[0]\n", " return guess\n", " \n", " def play_game(self, csvwriter=None):\n", " while not self.game_finished:\n", " self.do_turn()\n", " if not self.player:\n", " self.report_on_game()\n", " if csvwriter:\n", " csvwriter.writerow([self.target, self.discovered, self.wrong_letters, \n", " len([l for l in self.discovered if l != '_']),\n", " self.lives, self.game_won])\n", " return self.game_won\n", " \n", " def report_on_game(self):\n", " if self.game_won:\n", " print('You won! The word was', self.target)\n", " else:\n", " print('You lost. The word was', self.target)\n", " return self.game_won" ], "language": "python", "metadata": {}, "outputs": [], "prompt_number": 22 }, { "cell_type": "code", "collapsed": false, "input": [ "class PlayerFixedOrder:\n", " def __init__(self, ordered_letters):\n", " self.ordered_letters = ordered_letters\n", " \n", " def guess(self, discovered, missed, lives):\n", " guessed_letters = [l.lower() for l in discovered + missed if l in string.ascii_letters]\n", " return [l for l in self.ordered_letters if l not in guessed_letters][0]" ], "language": "python", "metadata": {}, "outputs": [], "prompt_number": 23 }, { "cell_type": "code", "collapsed": false, "input": [ "class PlayerAlphabetical(PlayerFixedOrder):\n", " def __init__(self):\n", " super().__init__(string.ascii_lowercase)\n", "\n", "class PlayerFreqOrdered(PlayerFixedOrder):\n", " def __init__(self):\n", " super().__init__(LETTERS_IN_ORDER)\n" ], "language": "python", "metadata": {}, "outputs": [], "prompt_number": 24 }, { "cell_type": "code", "collapsed": false, "input": [ "class PlayerAdaptive:\n", " def __init__(self, words):\n", " self.candidate_words = words\n", " \n", " def guess(self, discovered, missed, lives):\n", " self.filter_candidate_words(discovered, missed)\n", " self.set_ordered_letters()\n", " guessed_letters = [l.lower() for l in discovered + missed if l in string.ascii_letters]\n", " return [l for l in self.ordered_letters if l not in guessed_letters][0]\n", " \n", " def filter_candidate_words(self, discovered, missed):\n", " pass\n", " \n", " def set_ordered_letters(self):\n", " counts = collections.Counter(l.lower() \n", " for l in ''.join(self.candidate_words) + string.ascii_lowercase \n", " if l in string.ascii_letters)\n", " self.ordered_letters = [p[0] for p in counts.most_common()]" ], "language": "python", "metadata": {}, "outputs": [], "prompt_number": 25 }, { "cell_type": "code", "collapsed": false, "input": [ "class PlayerAdaptiveLength(PlayerAdaptive):\n", " def __init__(self, words):\n", " super().__init__(words)\n", " self.word_len = None\n", " self.ordered_letters = None\n", " \n", " def filter_candidate_words(self, discovered, missed):\n", " if not self.word_len:\n", " self.word_len = len(discovered)\n", " self.candidate_words = [w for w in self.candidate_words if len(w) == self.word_len]\n", " \n", " def set_ordered_letters(self):\n", " if not self.ordered_letters:\n", " super().set_ordered_letters()" ], "language": "python", "metadata": {}, "outputs": [], "prompt_number": 26 }, { "cell_type": "code", "collapsed": false, "input": [ "class PlayerAdaptiveIncludedLetters(PlayerAdaptive):\n", " def filter_candidate_words(self, discovered, missed):\n", " exp = re.compile('^' + ''.join(discovered).replace('_', '.') + '$')\n", " self.candidate_words = [w for w in self.candidate_words if exp.match(w)]" ], "language": "python", "metadata": {}, "outputs": [], "prompt_number": 27 }, { "cell_type": "code", "collapsed": false, "input": [ "class PlayerAdaptiveExcludedLetters(PlayerAdaptive):\n", " def filter_candidate_words(self, discovered, missed):\n", " if missed:\n", " exp = re.compile('^[^' + ''.join(missed) + ']*$')\n", " self.candidate_words = [w for w in self.candidate_words if exp.match(w)] " ], "language": "python", "metadata": {}, "outputs": [], "prompt_number": 28 }, { "cell_type": "code", "collapsed": false, "input": [ "class PlayerAdaptivePattern(PlayerAdaptive):\n", " def filter_candidate_words(self, discovered, missed):\n", " attempted_letters = [l for l in discovered if l != '_'] + missed\n", " if attempted_letters:\n", " exclusion_pattern = '[^' + ''.join(attempted_letters) + ']'\n", " else:\n", " exclusion_pattern = '.'\n", " exp = re.compile('^' + ''.join(discovered).replace('_', exclusion_pattern) + '$')\n", " self.candidate_words = [w for w in self.candidate_words if exp.match(w)]" ], "language": "python", "metadata": {}, "outputs": [], "prompt_number": 29 }, { "cell_type": "code", "collapsed": false, "input": [ "g = Game(random.choice(WORDS), player=PlayerAdaptive(WORDS))\n", "g.play_game()" ], "language": "python", "metadata": {}, "outputs": [ { "metadata": {}, "output_type": "pyout", "prompt_number": 30, "text": [ "True" ] } ], "prompt_number": 30 }, { "cell_type": "code", "collapsed": false, "input": [ "with open('fixed_alphabetical.csv', 'w', newline='') as csvfile:\n", " gamewriter = csv.writer(csvfile)\n", " gamewriter.writerow([\"target\", \"discovered\", \"wrong letters\", \"number of hits\", \"lives remaining\", \"game won\"])\n", " for _ in range(100):\n", " g = Game(random.choice(WORDS), player=PlayerAlphabetical())\n", " g.play_game(gamewriter)" ], "language": "python", "metadata": {}, "outputs": [], "prompt_number": 31 }, { "cell_type": "code", "collapsed": false, "input": [ "players = [(PlayerAlphabetical, None, 'fixed_alphabetical.csv'), \n", " (PlayerFreqOrdered, None, 'fixed_order.csv'),\n", " (PlayerAdaptiveIncludedLetters, WORDS, 'adaptive_included.csv'),\n", " (PlayerAdaptiveExcludedLetters, WORDS, 'adaptive_excluded.csv'),\n", " (PlayerAdaptivePattern, WORDS, 'adaptive_pattern.csv')]\n", "\n", "games_per_player = 1000\n", "\n", "for p, a, f in players:\n", " with open(f, 'w', newline='') as csvfile:\n", " gamewriter = csv.writer(csvfile)\n", " gamewriter.writerow([\"target\", \"discovered\", \"wrong letters\", \"number of hits\", \"lives remaining\", \"game won\"])\n", " for _ in range(games_per_player):\n", " if a:\n", " g = Game(random.choice(WORDS), player=p(a))\n", " else:\n", " g = Game(random.choice(WORDS), player=p())\n", " g.play_game(gamewriter)" ], "language": "python", "metadata": {}, "outputs": [], "prompt_number": 32 }, { "cell_type": "code", "collapsed": false, "input": [ "import pandas as pd\n", "import matplotlib as mpl\n", "import matplotlib.pyplot as plt\n", "%matplotlib inline" ], "language": "python", "metadata": {}, "outputs": [], "prompt_number": 33 }, { "cell_type": "code", "collapsed": false, "input": [ "fixed_order = pd.read_csv('fixed_order.csv')\n", "fixed_order" ], "language": "python", "metadata": {}, "outputs": [ { "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", " \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", " \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", " \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", " \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", " \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", "
targetdiscoveredwrong lettersnumber of hitslives remaininggame won
0 fume ['_', '_', '_', 'e'] ['t', 'a', 'o', 'i', 'h', 'n', 's', 'r', 'd', ... 1 0 False
1 nightlife ['n', 'i', '_', 'h', 't', 'l', 'i', '_', 'e'] ['a', 'o', 's', 'r', 'd', 'u', 'm', 'w', 'c', ... 7 0 False
2 skydove ['s', '_', '_', 'd', 'o', '_', 'e'] ['t', 'a', 'i', 'h', 'n', 'r', 'l', 'u', 'm', ... 4 0 False
3 generates ['_', 'e', 'n', 'e', 'r', 'a', 't', 'e', 's'] ['o', 'i', 'h', 'd', 'l', 'u', 'm', 'w', 'c', ... 8 0 False
4 mes ['_', 'e', 's'] ['t', 'a', 'o', 'i', 'h', 'n', 'r', 'd', 'l', ... 2 0 False
5 sphinges ['s', '_', 'h', 'i', 'n', '_', 'e', 's'] ['t', 'a', 'o', 'r', 'd', 'l', 'u', 'm', 'w', ... 6 0 False
6 backgammon ['_', 'a', '_', '_', '_', 'a', 'm', 'm', 'o', ... ['e', 't', 'i', 'h', 's', 'r', 'd', 'l', 'u', ... 6 0 False
7 stares ['s', 't', 'a', 'r', 'e', 's'] ['o', 'i', 'h', 'n'] 6 6 True
8 exemplify ['e', '_', 'e', 'm', '_', 'l', 'i', '_', '_'] ['t', 'a', 'o', 'h', 'n', 's', 'r', 'd', 'u', ... 5 0 False
9 placard ['_', 'l', 'a', '_', 'a', 'r', 'd'] ['e', 't', 'o', 'i', 'h', 'n', 's', 'u', 'm', ... 5 0 False
10 magnetising ['m', 'a', '_', 'n', 'e', 't', 'i', 's', 'i', ... ['o', 'h', 'r', 'd', 'l', 'u', 'w', 'c', 'y', ... 9 0 False
11 curried ['c', 'u', 'r', 'r', 'i', 'e', 'd'] ['t', 'a', 'o', 'h', 'n', 's', 'l', 'm', 'w'] 7 1 True
12 drouth ['d', 'r', 'o', 'u', 't', 'h'] ['e', 'a', 'i', 'n', 's', 'l'] 6 4 True
13 trash ['t', 'r', 'a', 's', 'h'] ['e', 'o', 'i', 'n'] 5 6 True
14 irretrievable ['i', 'r', 'r', 'e', 't', 'r', 'i', 'e', '_', ... ['o', 'h', 'n', 's', 'd', 'u', 'm', 'w', 'c', ... 11 0 False
15 exploiters ['e', '_', '_', 'l', 'o', 'i', 't', 'e', 'r', ... ['a', 'h', 'n', 'd', 'u', 'm', 'w', 'c', 'y', ... 8 0 False
16 newscast ['n', 'e', 'w', 's', 'c', 'a', 's', 't'] ['o', 'i', 'h', 'r', 'd', 'l', 'u', 'm'] 8 2 True
17 compliment ['c', 'o', 'm', '_', 'l', 'i', 'm', 'e', 'n', ... ['a', 'h', 's', 'r', 'd', 'u', 'w', 'y', 'f', ... 9 0 False
18 faithfulness ['f', 'a', 'i', 't', 'h', 'f', 'u', 'l', 'n', ... ['o', 'r', 'd', 'm', 'w', 'c', 'y'] 12 3 True
19 muzzle ['m', 'u', '_', '_', 'l', 'e'] ['t', 'a', 'o', 'i', 'h', 'n', 's', 'r', 'd', ... 4 0 False
20 ministered ['m', 'i', 'n', 'i', 's', 't', 'e', 'r', 'e', ... ['a', 'o', 'h', 'l', 'u'] 10 5 True
21 clef ['_', 'l', 'e', '_'] ['t', 'a', 'o', 'i', 'h', 'n', 's', 'r', 'd', ... 2 0 False
22 sunning ['s', 'u', 'n', 'n', 'i', 'n', '_'] ['e', 't', 'a', 'o', 'h', 'r', 'd', 'l', 'm', ... 6 0 False
23 cow ['_', 'o', '_'] ['e', 't', 'a', 'i', 'h', 'n', 's', 'r', 'd', ... 1 0 False
24 loon ['l', 'o', 'o', 'n'] ['e', 't', 'a', 'i', 'h', 's', 'r', 'd'] 4 2 True
25 pepperonis ['_', 'e', '_', '_', 'e', 'r', 'o', 'n', 'i', ... ['t', 'a', 'h', 'd', 'l', 'u', 'm', 'w', 'c', ... 7 0 False
26 alerting ['a', 'l', 'e', 'r', 't', 'i', 'n', '_'] ['o', 'h', 's', 'd', 'u', 'm', 'w', 'c', 'y', ... 7 0 False
27 hoorahs ['h', 'o', 'o', 'r', 'a', 'h', 's'] ['e', 't', 'i', 'n'] 7 6 True
28 legislates ['l', 'e', '_', 'i', 's', 'l', 'a', 't', 'e', ... ['o', 'h', 'n', 'r', 'd', 'u', 'm', 'w', 'c', ... 9 0 False
29 readout ['r', 'e', 'a', 'd', 'o', 'u', 't'] ['i', 'h', 'n', 's', 'l'] 7 5 True
.....................
970 washes ['w', 'a', 's', 'h', 'e', 's'] ['t', 'o', 'i', 'n', 'r', 'd', 'l', 'u', 'm'] 6 1 True
971 twirlers ['t', 'w', 'i', 'r', 'l', 'e', 'r', 's'] ['a', 'o', 'h', 'n', 'd', 'u', 'm'] 8 3 True
972 equine ['e', '_', 'u', 'i', 'n', 'e'] ['t', 'a', 'o', 'h', 's', 'r', 'd', 'l', 'm', ... 5 0 False
973 sacristan ['s', 'a', 'c', 'r', 'i', 's', 't', 'a', 'n'] ['e', 'o', 'h', 'd', 'l', 'u', 'm', 'w'] 9 2 True
974 handballs ['h', 'a', 'n', 'd', '_', 'a', 'l', 'l', 's'] ['e', 't', 'o', 'i', 'r', 'u', 'm', 'w', 'c', ... 8 0 False
975 hello ['h', 'e', 'l', 'l', 'o'] ['t', 'a', 'i', 'n', 's', 'r', 'd'] 5 3 True
976 promoter ['_', 'r', 'o', 'm', 'o', 't', 'e', 'r'] ['a', 'i', 'h', 'n', 's', 'd', 'l', 'u', 'w', ... 7 0 False
977 gesturing ['_', 'e', 's', 't', 'u', 'r', 'i', 'n', '_'] ['a', 'o', 'h', 'd', 'l', 'm', 'w', 'c', 'y', ... 7 0 False
978 clew ['_', 'l', 'e', '_'] ['t', 'a', 'o', 'i', 'h', 'n', 's', 'r', 'd', ... 2 0 False
979 jarring ['_', 'a', 'r', 'r', 'i', 'n', '_'] ['e', 't', 'o', 'h', 's', 'd', 'l', 'u', 'm', ... 5 0 False
980 bedraggled ['_', 'e', 'd', 'r', 'a', '_', '_', 'l', 'e', ... ['t', 'o', 'i', 'h', 'n', 's', 'u', 'm', 'w', ... 7 0 False
981 snout ['s', 'n', 'o', 'u', 't'] ['e', 'a', 'i', 'h', 'r', 'd', 'l'] 5 3 True
982 bog ['_', 'o', '_'] ['e', 't', 'a', 'i', 'h', 'n', 's', 'r', 'd', ... 1 0 False
983 envious ['e', 'n', '_', 'i', 'o', 'u', 's'] ['t', 'a', 'h', 'r', 'd', 'l', 'm', 'w', 'c', ... 6 0 False
984 vandals ['_', 'a', 'n', 'd', 'a', 'l', 's'] ['e', 't', 'o', 'i', 'h', 'r', 'u', 'm', 'w', ... 6 0 False
985 hobble ['h', 'o', '_', '_', 'l', 'e'] ['t', 'a', 'i', 'n', 's', 'r', 'd', 'u', 'm', ... 4 0 False
986 motes ['m', 'o', 't', 'e', 's'] ['a', 'i', 'h', 'n', 'r', 'd', 'l', 'u'] 5 2 True
987 sodding ['s', 'o', 'd', 'd', 'i', 'n', '_'] ['e', 't', 'a', 'h', 'r', 'l', 'u', 'm', 'w', ... 6 0 False
988 connivance ['c', 'o', 'n', 'n', 'i', '_', 'a', 'n', 'c', ... ['t', 'h', 's', 'r', 'd', 'l', 'u', 'm', 'w', ... 9 0 False
989 anchorites ['a', 'n', 'c', 'h', 'o', 'r', 'i', 't', 'e', ... ['d', 'l', 'u', 'm', 'w'] 10 5 True
990 squats ['s', '_', 'u', 'a', 't', 's'] ['e', 'o', 'i', 'h', 'n', 'r', 'd', 'l', 'm', ... 5 0 False
991 amebae ['a', '_', 'e', '_', 'a', 'e'] ['t', 'o', 'i', 'h', 'n', 's', 'r', 'd', 'l', ... 4 0 False
992 freelancers ['f', 'r', 'e', 'e', 'l', 'a', 'n', 'c', 'e', ... ['t', 'o', 'i', 'h', 'd', 'u', 'm', 'w', 'y'] 11 1 True
993 indentures ['i', 'n', 'd', 'e', 'n', 't', 'u', 'r', 'e', ... ['a', 'o', 'h', 'l'] 10 6 True
994 eulogistic ['e', 'u', 'l', 'o', 'g', 'i', 's', 't', 'i', ... ['a', 'h', 'n', 'r', 'd', 'm', 'w', 'y', 'f'] 10 1 True
995 mandrake ['m', 'a', 'n', 'd', 'r', 'a', '_', 'e'] ['t', 'o', 'i', 'h', 's', 'l', 'u', 'w', 'c', ... 7 0 False
996 aforementioned ['a', 'f', 'o', 'r', 'e', 'm', 'e', 'n', 't', ... ['h', 's', 'l', 'u', 'w', 'c', 'y'] 14 3 True
997 pleases ['_', 'l', 'e', 'a', 's', 'e', 's'] ['t', 'o', 'i', 'h', 'n', 'r', 'd', 'u', 'm', ... 6 0 False
998 screens ['s', '_', 'r', 'e', 'e', 'n', 's'] ['t', 'a', 'o', 'i', 'h', 'd', 'l', 'u', 'm', ... 6 0 False
999 conches ['c', 'o', 'n', 'c', 'h', 'e', 's'] ['t', 'a', 'i', 'r', 'd', 'l', 'u', 'm', 'w'] 7 1 True
\n", "

1000 rows \u00d7 6 columns

\n", "
" ], "metadata": {}, "output_type": "pyout", "prompt_number": 34, "text": [ " target discovered \\\n", "0 fume ['_', '_', '_', 'e'] \n", "1 nightlife ['n', 'i', '_', 'h', 't', 'l', 'i', '_', 'e'] \n", "2 skydove ['s', '_', '_', 'd', 'o', '_', 'e'] \n", "3 generates ['_', 'e', 'n', 'e', 'r', 'a', 't', 'e', 's'] \n", "4 mes ['_', 'e', 's'] \n", "5 sphinges ['s', '_', 'h', 'i', 'n', '_', 'e', 's'] \n", "6 backgammon ['_', 'a', '_', '_', '_', 'a', 'm', 'm', 'o', ... \n", "7 stares ['s', 't', 'a', 'r', 'e', 's'] \n", "8 exemplify ['e', '_', 'e', 'm', '_', 'l', 'i', '_', '_'] \n", "9 placard ['_', 'l', 'a', '_', 'a', 'r', 'd'] \n", "10 magnetising ['m', 'a', '_', 'n', 'e', 't', 'i', 's', 'i', ... \n", "11 curried ['c', 'u', 'r', 'r', 'i', 'e', 'd'] \n", "12 drouth ['d', 'r', 'o', 'u', 't', 'h'] \n", "13 trash ['t', 'r', 'a', 's', 'h'] \n", "14 irretrievable ['i', 'r', 'r', 'e', 't', 'r', 'i', 'e', '_', ... \n", "15 exploiters ['e', '_', '_', 'l', 'o', 'i', 't', 'e', 'r', ... \n", "16 newscast ['n', 'e', 'w', 's', 'c', 'a', 's', 't'] \n", "17 compliment ['c', 'o', 'm', '_', 'l', 'i', 'm', 'e', 'n', ... \n", "18 faithfulness ['f', 'a', 'i', 't', 'h', 'f', 'u', 'l', 'n', ... \n", "19 muzzle ['m', 'u', '_', '_', 'l', 'e'] \n", "20 ministered ['m', 'i', 'n', 'i', 's', 't', 'e', 'r', 'e', ... \n", "21 clef ['_', 'l', 'e', '_'] \n", "22 sunning ['s', 'u', 'n', 'n', 'i', 'n', '_'] \n", "23 cow ['_', 'o', '_'] \n", "24 loon ['l', 'o', 'o', 'n'] \n", "25 pepperonis ['_', 'e', '_', '_', 'e', 'r', 'o', 'n', 'i', ... \n", "26 alerting ['a', 'l', 'e', 'r', 't', 'i', 'n', '_'] \n", "27 hoorahs ['h', 'o', 'o', 'r', 'a', 'h', 's'] \n", "28 legislates ['l', 'e', '_', 'i', 's', 'l', 'a', 't', 'e', ... \n", "29 readout ['r', 'e', 'a', 'd', 'o', 'u', 't'] \n", ".. ... ... \n", "970 washes ['w', 'a', 's', 'h', 'e', 's'] \n", "971 twirlers ['t', 'w', 'i', 'r', 'l', 'e', 'r', 's'] \n", "972 equine ['e', '_', 'u', 'i', 'n', 'e'] \n", "973 sacristan ['s', 'a', 'c', 'r', 'i', 's', 't', 'a', 'n'] \n", "974 handballs ['h', 'a', 'n', 'd', '_', 'a', 'l', 'l', 's'] \n", "975 hello ['h', 'e', 'l', 'l', 'o'] \n", "976 promoter ['_', 'r', 'o', 'm', 'o', 't', 'e', 'r'] \n", "977 gesturing ['_', 'e', 's', 't', 'u', 'r', 'i', 'n', '_'] \n", "978 clew ['_', 'l', 'e', '_'] \n", "979 jarring ['_', 'a', 'r', 'r', 'i', 'n', '_'] \n", "980 bedraggled ['_', 'e', 'd', 'r', 'a', '_', '_', 'l', 'e', ... \n", "981 snout ['s', 'n', 'o', 'u', 't'] \n", "982 bog ['_', 'o', '_'] \n", "983 envious ['e', 'n', '_', 'i', 'o', 'u', 's'] \n", "984 vandals ['_', 'a', 'n', 'd', 'a', 'l', 's'] \n", "985 hobble ['h', 'o', '_', '_', 'l', 'e'] \n", "986 motes ['m', 'o', 't', 'e', 's'] \n", "987 sodding ['s', 'o', 'd', 'd', 'i', 'n', '_'] \n", "988 connivance ['c', 'o', 'n', 'n', 'i', '_', 'a', 'n', 'c', ... \n", "989 anchorites ['a', 'n', 'c', 'h', 'o', 'r', 'i', 't', 'e', ... \n", "990 squats ['s', '_', 'u', 'a', 't', 's'] \n", "991 amebae ['a', '_', 'e', '_', 'a', 'e'] \n", "992 freelancers ['f', 'r', 'e', 'e', 'l', 'a', 'n', 'c', 'e', ... \n", "993 indentures ['i', 'n', 'd', 'e', 'n', 't', 'u', 'r', 'e', ... \n", "994 eulogistic ['e', 'u', 'l', 'o', 'g', 'i', 's', 't', 'i', ... \n", "995 mandrake ['m', 'a', 'n', 'd', 'r', 'a', '_', 'e'] \n", "996 aforementioned ['a', 'f', 'o', 'r', 'e', 'm', 'e', 'n', 't', ... \n", "997 pleases ['_', 'l', 'e', 'a', 's', 'e', 's'] \n", "998 screens ['s', '_', 'r', 'e', 'e', 'n', 's'] \n", "999 conches ['c', 'o', 'n', 'c', 'h', 'e', 's'] \n", "\n", " wrong letters number of hits \\\n", "0 ['t', 'a', 'o', 'i', 'h', 'n', 's', 'r', 'd', ... 1 \n", "1 ['a', 'o', 's', 'r', 'd', 'u', 'm', 'w', 'c', ... 7 \n", "2 ['t', 'a', 'i', 'h', 'n', 'r', 'l', 'u', 'm', ... 4 \n", "3 ['o', 'i', 'h', 'd', 'l', 'u', 'm', 'w', 'c', ... 8 \n", "4 ['t', 'a', 'o', 'i', 'h', 'n', 'r', 'd', 'l', ... 2 \n", "5 ['t', 'a', 'o', 'r', 'd', 'l', 'u', 'm', 'w', ... 6 \n", "6 ['e', 't', 'i', 'h', 's', 'r', 'd', 'l', 'u', ... 6 \n", "7 ['o', 'i', 'h', 'n'] 6 \n", "8 ['t', 'a', 'o', 'h', 'n', 's', 'r', 'd', 'u', ... 5 \n", "9 ['e', 't', 'o', 'i', 'h', 'n', 's', 'u', 'm', ... 5 \n", "10 ['o', 'h', 'r', 'd', 'l', 'u', 'w', 'c', 'y', ... 9 \n", "11 ['t', 'a', 'o', 'h', 'n', 's', 'l', 'm', 'w'] 7 \n", "12 ['e', 'a', 'i', 'n', 's', 'l'] 6 \n", "13 ['e', 'o', 'i', 'n'] 5 \n", "14 ['o', 'h', 'n', 's', 'd', 'u', 'm', 'w', 'c', ... 11 \n", "15 ['a', 'h', 'n', 'd', 'u', 'm', 'w', 'c', 'y', ... 8 \n", "16 ['o', 'i', 'h', 'r', 'd', 'l', 'u', 'm'] 8 \n", "17 ['a', 'h', 's', 'r', 'd', 'u', 'w', 'y', 'f', ... 9 \n", "18 ['o', 'r', 'd', 'm', 'w', 'c', 'y'] 12 \n", "19 ['t', 'a', 'o', 'i', 'h', 'n', 's', 'r', 'd', ... 4 \n", "20 ['a', 'o', 'h', 'l', 'u'] 10 \n", "21 ['t', 'a', 'o', 'i', 'h', 'n', 's', 'r', 'd', ... 2 \n", "22 ['e', 't', 'a', 'o', 'h', 'r', 'd', 'l', 'm', ... 6 \n", "23 ['e', 't', 'a', 'i', 'h', 'n', 's', 'r', 'd', ... 1 \n", "24 ['e', 't', 'a', 'i', 'h', 's', 'r', 'd'] 4 \n", "25 ['t', 'a', 'h', 'd', 'l', 'u', 'm', 'w', 'c', ... 7 \n", "26 ['o', 'h', 's', 'd', 'u', 'm', 'w', 'c', 'y', ... 7 \n", "27 ['e', 't', 'i', 'n'] 7 \n", "28 ['o', 'h', 'n', 'r', 'd', 'u', 'm', 'w', 'c', ... 9 \n", "29 ['i', 'h', 'n', 's', 'l'] 7 \n", ".. ... ... \n", "970 ['t', 'o', 'i', 'n', 'r', 'd', 'l', 'u', 'm'] 6 \n", "971 ['a', 'o', 'h', 'n', 'd', 'u', 'm'] 8 \n", "972 ['t', 'a', 'o', 'h', 's', 'r', 'd', 'l', 'm', ... 5 \n", "973 ['e', 'o', 'h', 'd', 'l', 'u', 'm', 'w'] 9 \n", "974 ['e', 't', 'o', 'i', 'r', 'u', 'm', 'w', 'c', ... 8 \n", "975 ['t', 'a', 'i', 'n', 's', 'r', 'd'] 5 \n", "976 ['a', 'i', 'h', 'n', 's', 'd', 'l', 'u', 'w', ... 7 \n", "977 ['a', 'o', 'h', 'd', 'l', 'm', 'w', 'c', 'y', ... 7 \n", "978 ['t', 'a', 'o', 'i', 'h', 'n', 's', 'r', 'd', ... 2 \n", "979 ['e', 't', 'o', 'h', 's', 'd', 'l', 'u', 'm', ... 5 \n", "980 ['t', 'o', 'i', 'h', 'n', 's', 'u', 'm', 'w', ... 7 \n", "981 ['e', 'a', 'i', 'h', 'r', 'd', 'l'] 5 \n", "982 ['e', 't', 'a', 'i', 'h', 'n', 's', 'r', 'd', ... 1 \n", "983 ['t', 'a', 'h', 'r', 'd', 'l', 'm', 'w', 'c', ... 6 \n", "984 ['e', 't', 'o', 'i', 'h', 'r', 'u', 'm', 'w', ... 6 \n", "985 ['t', 'a', 'i', 'n', 's', 'r', 'd', 'u', 'm', ... 4 \n", "986 ['a', 'i', 'h', 'n', 'r', 'd', 'l', 'u'] 5 \n", "987 ['e', 't', 'a', 'h', 'r', 'l', 'u', 'm', 'w', ... 6 \n", "988 ['t', 'h', 's', 'r', 'd', 'l', 'u', 'm', 'w', ... 9 \n", "989 ['d', 'l', 'u', 'm', 'w'] 10 \n", "990 ['e', 'o', 'i', 'h', 'n', 'r', 'd', 'l', 'm', ... 5 \n", "991 ['t', 'o', 'i', 'h', 'n', 's', 'r', 'd', 'l', ... 4 \n", "992 ['t', 'o', 'i', 'h', 'd', 'u', 'm', 'w', 'y'] 11 \n", "993 ['a', 'o', 'h', 'l'] 10 \n", "994 ['a', 'h', 'n', 'r', 'd', 'm', 'w', 'y', 'f'] 10 \n", "995 ['t', 'o', 'i', 'h', 's', 'l', 'u', 'w', 'c', ... 7 \n", "996 ['h', 's', 'l', 'u', 'w', 'c', 'y'] 14 \n", "997 ['t', 'o', 'i', 'h', 'n', 'r', 'd', 'u', 'm', ... 6 \n", "998 ['t', 'a', 'o', 'i', 'h', 'd', 'l', 'u', 'm', ... 6 \n", "999 ['t', 'a', 'i', 'r', 'd', 'l', 'u', 'm', 'w'] 7 \n", "\n", " lives remaining game won \n", "0 0 False \n", "1 0 False \n", "2 0 False \n", "3 0 False \n", "4 0 False \n", "5 0 False \n", "6 0 False \n", "7 6 True \n", "8 0 False \n", "9 0 False \n", "10 0 False \n", "11 1 True \n", "12 4 True \n", "13 6 True \n", "14 0 False \n", "15 0 False \n", "16 2 True \n", "17 0 False \n", "18 3 True \n", "19 0 False \n", "20 5 True \n", "21 0 False \n", "22 0 False \n", "23 0 False \n", "24 2 True \n", "25 0 False \n", "26 0 False \n", "27 6 True \n", "28 0 False \n", "29 5 True \n", ".. ... ... \n", "970 1 True \n", "971 3 True \n", "972 0 False \n", "973 2 True \n", "974 0 False \n", "975 3 True \n", "976 0 False \n", "977 0 False \n", "978 0 False \n", "979 0 False \n", "980 0 False \n", "981 3 True \n", "982 0 False \n", "983 0 False \n", "984 0 False \n", "985 0 False \n", "986 2 True \n", "987 0 False \n", "988 0 False \n", "989 5 True \n", "990 0 False \n", "991 0 False \n", "992 1 True \n", "993 6 True \n", "994 1 True \n", "995 0 False \n", "996 3 True \n", "997 0 False \n", "998 0 False \n", "999 1 True \n", "\n", "[1000 rows x 6 columns]" ] } ], "prompt_number": 34 }, { "cell_type": "code", "collapsed": false, "input": [ "len(fixed_order['discovered'][0].split(','))" ], "language": "python", "metadata": {}, "outputs": [ { "metadata": {}, "output_type": "pyout", "prompt_number": 35, "text": [ "4" ] } ], "prompt_number": 35 }, { "cell_type": "code", "collapsed": false, "input": [ "fixed_order['word length'] = fixed_order.apply(lambda r: len(r['target']), axis=1)\n", "fixed_order" ], "language": "python", "metadata": {}, "outputs": [ { "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", " \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", " \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", " \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", " \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", " \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", " \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", "
targetdiscoveredwrong lettersnumber of hitslives remaininggame wonword length
0 fume ['_', '_', '_', 'e'] ['t', 'a', 'o', 'i', 'h', 'n', 's', 'r', 'd', ... 1 0 False 4
1 nightlife ['n', 'i', '_', 'h', 't', 'l', 'i', '_', 'e'] ['a', 'o', 's', 'r', 'd', 'u', 'm', 'w', 'c', ... 7 0 False 9
2 skydove ['s', '_', '_', 'd', 'o', '_', 'e'] ['t', 'a', 'i', 'h', 'n', 'r', 'l', 'u', 'm', ... 4 0 False 7
3 generates ['_', 'e', 'n', 'e', 'r', 'a', 't', 'e', 's'] ['o', 'i', 'h', 'd', 'l', 'u', 'm', 'w', 'c', ... 8 0 False 9
4 mes ['_', 'e', 's'] ['t', 'a', 'o', 'i', 'h', 'n', 'r', 'd', 'l', ... 2 0 False 3
5 sphinges ['s', '_', 'h', 'i', 'n', '_', 'e', 's'] ['t', 'a', 'o', 'r', 'd', 'l', 'u', 'm', 'w', ... 6 0 False 8
6 backgammon ['_', 'a', '_', '_', '_', 'a', 'm', 'm', 'o', ... ['e', 't', 'i', 'h', 's', 'r', 'd', 'l', 'u', ... 6 0 False 10
7 stares ['s', 't', 'a', 'r', 'e', 's'] ['o', 'i', 'h', 'n'] 6 6 True 6
8 exemplify ['e', '_', 'e', 'm', '_', 'l', 'i', '_', '_'] ['t', 'a', 'o', 'h', 'n', 's', 'r', 'd', 'u', ... 5 0 False 9
9 placard ['_', 'l', 'a', '_', 'a', 'r', 'd'] ['e', 't', 'o', 'i', 'h', 'n', 's', 'u', 'm', ... 5 0 False 7
10 magnetising ['m', 'a', '_', 'n', 'e', 't', 'i', 's', 'i', ... ['o', 'h', 'r', 'd', 'l', 'u', 'w', 'c', 'y', ... 9 0 False 11
11 curried ['c', 'u', 'r', 'r', 'i', 'e', 'd'] ['t', 'a', 'o', 'h', 'n', 's', 'l', 'm', 'w'] 7 1 True 7
12 drouth ['d', 'r', 'o', 'u', 't', 'h'] ['e', 'a', 'i', 'n', 's', 'l'] 6 4 True 6
13 trash ['t', 'r', 'a', 's', 'h'] ['e', 'o', 'i', 'n'] 5 6 True 5
14 irretrievable ['i', 'r', 'r', 'e', 't', 'r', 'i', 'e', '_', ... ['o', 'h', 'n', 's', 'd', 'u', 'm', 'w', 'c', ... 11 0 False 13
15 exploiters ['e', '_', '_', 'l', 'o', 'i', 't', 'e', 'r', ... ['a', 'h', 'n', 'd', 'u', 'm', 'w', 'c', 'y', ... 8 0 False 10
16 newscast ['n', 'e', 'w', 's', 'c', 'a', 's', 't'] ['o', 'i', 'h', 'r', 'd', 'l', 'u', 'm'] 8 2 True 8
17 compliment ['c', 'o', 'm', '_', 'l', 'i', 'm', 'e', 'n', ... ['a', 'h', 's', 'r', 'd', 'u', 'w', 'y', 'f', ... 9 0 False 10
18 faithfulness ['f', 'a', 'i', 't', 'h', 'f', 'u', 'l', 'n', ... ['o', 'r', 'd', 'm', 'w', 'c', 'y'] 12 3 True 12
19 muzzle ['m', 'u', '_', '_', 'l', 'e'] ['t', 'a', 'o', 'i', 'h', 'n', 's', 'r', 'd', ... 4 0 False 6
20 ministered ['m', 'i', 'n', 'i', 's', 't', 'e', 'r', 'e', ... ['a', 'o', 'h', 'l', 'u'] 10 5 True 10
21 clef ['_', 'l', 'e', '_'] ['t', 'a', 'o', 'i', 'h', 'n', 's', 'r', 'd', ... 2 0 False 4
22 sunning ['s', 'u', 'n', 'n', 'i', 'n', '_'] ['e', 't', 'a', 'o', 'h', 'r', 'd', 'l', 'm', ... 6 0 False 7
23 cow ['_', 'o', '_'] ['e', 't', 'a', 'i', 'h', 'n', 's', 'r', 'd', ... 1 0 False 3
24 loon ['l', 'o', 'o', 'n'] ['e', 't', 'a', 'i', 'h', 's', 'r', 'd'] 4 2 True 4
25 pepperonis ['_', 'e', '_', '_', 'e', 'r', 'o', 'n', 'i', ... ['t', 'a', 'h', 'd', 'l', 'u', 'm', 'w', 'c', ... 7 0 False 10
26 alerting ['a', 'l', 'e', 'r', 't', 'i', 'n', '_'] ['o', 'h', 's', 'd', 'u', 'm', 'w', 'c', 'y', ... 7 0 False 8
27 hoorahs ['h', 'o', 'o', 'r', 'a', 'h', 's'] ['e', 't', 'i', 'n'] 7 6 True 7
28 legislates ['l', 'e', '_', 'i', 's', 'l', 'a', 't', 'e', ... ['o', 'h', 'n', 'r', 'd', 'u', 'm', 'w', 'c', ... 9 0 False 10
29 readout ['r', 'e', 'a', 'd', 'o', 'u', 't'] ['i', 'h', 'n', 's', 'l'] 7 5 True 7
........................
970 washes ['w', 'a', 's', 'h', 'e', 's'] ['t', 'o', 'i', 'n', 'r', 'd', 'l', 'u', 'm'] 6 1 True 6
971 twirlers ['t', 'w', 'i', 'r', 'l', 'e', 'r', 's'] ['a', 'o', 'h', 'n', 'd', 'u', 'm'] 8 3 True 8
972 equine ['e', '_', 'u', 'i', 'n', 'e'] ['t', 'a', 'o', 'h', 's', 'r', 'd', 'l', 'm', ... 5 0 False 6
973 sacristan ['s', 'a', 'c', 'r', 'i', 's', 't', 'a', 'n'] ['e', 'o', 'h', 'd', 'l', 'u', 'm', 'w'] 9 2 True 9
974 handballs ['h', 'a', 'n', 'd', '_', 'a', 'l', 'l', 's'] ['e', 't', 'o', 'i', 'r', 'u', 'm', 'w', 'c', ... 8 0 False 9
975 hello ['h', 'e', 'l', 'l', 'o'] ['t', 'a', 'i', 'n', 's', 'r', 'd'] 5 3 True 5
976 promoter ['_', 'r', 'o', 'm', 'o', 't', 'e', 'r'] ['a', 'i', 'h', 'n', 's', 'd', 'l', 'u', 'w', ... 7 0 False 8
977 gesturing ['_', 'e', 's', 't', 'u', 'r', 'i', 'n', '_'] ['a', 'o', 'h', 'd', 'l', 'm', 'w', 'c', 'y', ... 7 0 False 9
978 clew ['_', 'l', 'e', '_'] ['t', 'a', 'o', 'i', 'h', 'n', 's', 'r', 'd', ... 2 0 False 4
979 jarring ['_', 'a', 'r', 'r', 'i', 'n', '_'] ['e', 't', 'o', 'h', 's', 'd', 'l', 'u', 'm', ... 5 0 False 7
980 bedraggled ['_', 'e', 'd', 'r', 'a', '_', '_', 'l', 'e', ... ['t', 'o', 'i', 'h', 'n', 's', 'u', 'm', 'w', ... 7 0 False 10
981 snout ['s', 'n', 'o', 'u', 't'] ['e', 'a', 'i', 'h', 'r', 'd', 'l'] 5 3 True 5
982 bog ['_', 'o', '_'] ['e', 't', 'a', 'i', 'h', 'n', 's', 'r', 'd', ... 1 0 False 3
983 envious ['e', 'n', '_', 'i', 'o', 'u', 's'] ['t', 'a', 'h', 'r', 'd', 'l', 'm', 'w', 'c', ... 6 0 False 7
984 vandals ['_', 'a', 'n', 'd', 'a', 'l', 's'] ['e', 't', 'o', 'i', 'h', 'r', 'u', 'm', 'w', ... 6 0 False 7
985 hobble ['h', 'o', '_', '_', 'l', 'e'] ['t', 'a', 'i', 'n', 's', 'r', 'd', 'u', 'm', ... 4 0 False 6
986 motes ['m', 'o', 't', 'e', 's'] ['a', 'i', 'h', 'n', 'r', 'd', 'l', 'u'] 5 2 True 5
987 sodding ['s', 'o', 'd', 'd', 'i', 'n', '_'] ['e', 't', 'a', 'h', 'r', 'l', 'u', 'm', 'w', ... 6 0 False 7
988 connivance ['c', 'o', 'n', 'n', 'i', '_', 'a', 'n', 'c', ... ['t', 'h', 's', 'r', 'd', 'l', 'u', 'm', 'w', ... 9 0 False 10
989 anchorites ['a', 'n', 'c', 'h', 'o', 'r', 'i', 't', 'e', ... ['d', 'l', 'u', 'm', 'w'] 10 5 True 10
990 squats ['s', '_', 'u', 'a', 't', 's'] ['e', 'o', 'i', 'h', 'n', 'r', 'd', 'l', 'm', ... 5 0 False 6
991 amebae ['a', '_', 'e', '_', 'a', 'e'] ['t', 'o', 'i', 'h', 'n', 's', 'r', 'd', 'l', ... 4 0 False 6
992 freelancers ['f', 'r', 'e', 'e', 'l', 'a', 'n', 'c', 'e', ... ['t', 'o', 'i', 'h', 'd', 'u', 'm', 'w', 'y'] 11 1 True 11
993 indentures ['i', 'n', 'd', 'e', 'n', 't', 'u', 'r', 'e', ... ['a', 'o', 'h', 'l'] 10 6 True 10
994 eulogistic ['e', 'u', 'l', 'o', 'g', 'i', 's', 't', 'i', ... ['a', 'h', 'n', 'r', 'd', 'm', 'w', 'y', 'f'] 10 1 True 10
995 mandrake ['m', 'a', 'n', 'd', 'r', 'a', '_', 'e'] ['t', 'o', 'i', 'h', 's', 'l', 'u', 'w', 'c', ... 7 0 False 8
996 aforementioned ['a', 'f', 'o', 'r', 'e', 'm', 'e', 'n', 't', ... ['h', 's', 'l', 'u', 'w', 'c', 'y'] 14 3 True 14
997 pleases ['_', 'l', 'e', 'a', 's', 'e', 's'] ['t', 'o', 'i', 'h', 'n', 'r', 'd', 'u', 'm', ... 6 0 False 7
998 screens ['s', '_', 'r', 'e', 'e', 'n', 's'] ['t', 'a', 'o', 'i', 'h', 'd', 'l', 'u', 'm', ... 6 0 False 7
999 conches ['c', 'o', 'n', 'c', 'h', 'e', 's'] ['t', 'a', 'i', 'r', 'd', 'l', 'u', 'm', 'w'] 7 1 True 7
\n", "

1000 rows \u00d7 7 columns

\n", "
" ], "metadata": {}, "output_type": "pyout", "prompt_number": 36, "text": [ " target discovered \\\n", "0 fume ['_', '_', '_', 'e'] \n", "1 nightlife ['n', 'i', '_', 'h', 't', 'l', 'i', '_', 'e'] \n", "2 skydove ['s', '_', '_', 'd', 'o', '_', 'e'] \n", "3 generates ['_', 'e', 'n', 'e', 'r', 'a', 't', 'e', 's'] \n", "4 mes ['_', 'e', 's'] \n", "5 sphinges ['s', '_', 'h', 'i', 'n', '_', 'e', 's'] \n", "6 backgammon ['_', 'a', '_', '_', '_', 'a', 'm', 'm', 'o', ... \n", "7 stares ['s', 't', 'a', 'r', 'e', 's'] \n", "8 exemplify ['e', '_', 'e', 'm', '_', 'l', 'i', '_', '_'] \n", "9 placard ['_', 'l', 'a', '_', 'a', 'r', 'd'] \n", "10 magnetising ['m', 'a', '_', 'n', 'e', 't', 'i', 's', 'i', ... \n", "11 curried ['c', 'u', 'r', 'r', 'i', 'e', 'd'] \n", "12 drouth ['d', 'r', 'o', 'u', 't', 'h'] \n", "13 trash ['t', 'r', 'a', 's', 'h'] \n", "14 irretrievable ['i', 'r', 'r', 'e', 't', 'r', 'i', 'e', '_', ... \n", "15 exploiters ['e', '_', '_', 'l', 'o', 'i', 't', 'e', 'r', ... \n", "16 newscast ['n', 'e', 'w', 's', 'c', 'a', 's', 't'] \n", "17 compliment ['c', 'o', 'm', '_', 'l', 'i', 'm', 'e', 'n', ... \n", "18 faithfulness ['f', 'a', 'i', 't', 'h', 'f', 'u', 'l', 'n', ... \n", "19 muzzle ['m', 'u', '_', '_', 'l', 'e'] \n", "20 ministered ['m', 'i', 'n', 'i', 's', 't', 'e', 'r', 'e', ... \n", "21 clef ['_', 'l', 'e', '_'] \n", "22 sunning ['s', 'u', 'n', 'n', 'i', 'n', '_'] \n", "23 cow ['_', 'o', '_'] \n", "24 loon ['l', 'o', 'o', 'n'] \n", "25 pepperonis ['_', 'e', '_', '_', 'e', 'r', 'o', 'n', 'i', ... \n", "26 alerting ['a', 'l', 'e', 'r', 't', 'i', 'n', '_'] \n", "27 hoorahs ['h', 'o', 'o', 'r', 'a', 'h', 's'] \n", "28 legislates ['l', 'e', '_', 'i', 's', 'l', 'a', 't', 'e', ... \n", "29 readout ['r', 'e', 'a', 'd', 'o', 'u', 't'] \n", ".. ... ... \n", "970 washes ['w', 'a', 's', 'h', 'e', 's'] \n", "971 twirlers ['t', 'w', 'i', 'r', 'l', 'e', 'r', 's'] \n", "972 equine ['e', '_', 'u', 'i', 'n', 'e'] \n", "973 sacristan ['s', 'a', 'c', 'r', 'i', 's', 't', 'a', 'n'] \n", "974 handballs ['h', 'a', 'n', 'd', '_', 'a', 'l', 'l', 's'] \n", "975 hello ['h', 'e', 'l', 'l', 'o'] \n", "976 promoter ['_', 'r', 'o', 'm', 'o', 't', 'e', 'r'] \n", "977 gesturing ['_', 'e', 's', 't', 'u', 'r', 'i', 'n', '_'] \n", "978 clew ['_', 'l', 'e', '_'] \n", "979 jarring ['_', 'a', 'r', 'r', 'i', 'n', '_'] \n", "980 bedraggled ['_', 'e', 'd', 'r', 'a', '_', '_', 'l', 'e', ... \n", "981 snout ['s', 'n', 'o', 'u', 't'] \n", "982 bog ['_', 'o', '_'] \n", "983 envious ['e', 'n', '_', 'i', 'o', 'u', 's'] \n", "984 vandals ['_', 'a', 'n', 'd', 'a', 'l', 's'] \n", "985 hobble ['h', 'o', '_', '_', 'l', 'e'] \n", "986 motes ['m', 'o', 't', 'e', 's'] \n", "987 sodding ['s', 'o', 'd', 'd', 'i', 'n', '_'] \n", "988 connivance ['c', 'o', 'n', 'n', 'i', '_', 'a', 'n', 'c', ... \n", "989 anchorites ['a', 'n', 'c', 'h', 'o', 'r', 'i', 't', 'e', ... \n", "990 squats ['s', '_', 'u', 'a', 't', 's'] \n", "991 amebae ['a', '_', 'e', '_', 'a', 'e'] \n", "992 freelancers ['f', 'r', 'e', 'e', 'l', 'a', 'n', 'c', 'e', ... \n", "993 indentures ['i', 'n', 'd', 'e', 'n', 't', 'u', 'r', 'e', ... \n", "994 eulogistic ['e', 'u', 'l', 'o', 'g', 'i', 's', 't', 'i', ... \n", "995 mandrake ['m', 'a', 'n', 'd', 'r', 'a', '_', 'e'] \n", "996 aforementioned ['a', 'f', 'o', 'r', 'e', 'm', 'e', 'n', 't', ... \n", "997 pleases ['_', 'l', 'e', 'a', 's', 'e', 's'] \n", "998 screens ['s', '_', 'r', 'e', 'e', 'n', 's'] \n", "999 conches ['c', 'o', 'n', 'c', 'h', 'e', 's'] \n", "\n", " wrong letters number of hits \\\n", "0 ['t', 'a', 'o', 'i', 'h', 'n', 's', 'r', 'd', ... 1 \n", "1 ['a', 'o', 's', 'r', 'd', 'u', 'm', 'w', 'c', ... 7 \n", "2 ['t', 'a', 'i', 'h', 'n', 'r', 'l', 'u', 'm', ... 4 \n", "3 ['o', 'i', 'h', 'd', 'l', 'u', 'm', 'w', 'c', ... 8 \n", "4 ['t', 'a', 'o', 'i', 'h', 'n', 'r', 'd', 'l', ... 2 \n", "5 ['t', 'a', 'o', 'r', 'd', 'l', 'u', 'm', 'w', ... 6 \n", "6 ['e', 't', 'i', 'h', 's', 'r', 'd', 'l', 'u', ... 6 \n", "7 ['o', 'i', 'h', 'n'] 6 \n", "8 ['t', 'a', 'o', 'h', 'n', 's', 'r', 'd', 'u', ... 5 \n", "9 ['e', 't', 'o', 'i', 'h', 'n', 's', 'u', 'm', ... 5 \n", "10 ['o', 'h', 'r', 'd', 'l', 'u', 'w', 'c', 'y', ... 9 \n", "11 ['t', 'a', 'o', 'h', 'n', 's', 'l', 'm', 'w'] 7 \n", "12 ['e', 'a', 'i', 'n', 's', 'l'] 6 \n", "13 ['e', 'o', 'i', 'n'] 5 \n", "14 ['o', 'h', 'n', 's', 'd', 'u', 'm', 'w', 'c', ... 11 \n", "15 ['a', 'h', 'n', 'd', 'u', 'm', 'w', 'c', 'y', ... 8 \n", "16 ['o', 'i', 'h', 'r', 'd', 'l', 'u', 'm'] 8 \n", "17 ['a', 'h', 's', 'r', 'd', 'u', 'w', 'y', 'f', ... 9 \n", "18 ['o', 'r', 'd', 'm', 'w', 'c', 'y'] 12 \n", "19 ['t', 'a', 'o', 'i', 'h', 'n', 's', 'r', 'd', ... 4 \n", "20 ['a', 'o', 'h', 'l', 'u'] 10 \n", "21 ['t', 'a', 'o', 'i', 'h', 'n', 's', 'r', 'd', ... 2 \n", "22 ['e', 't', 'a', 'o', 'h', 'r', 'd', 'l', 'm', ... 6 \n", "23 ['e', 't', 'a', 'i', 'h', 'n', 's', 'r', 'd', ... 1 \n", "24 ['e', 't', 'a', 'i', 'h', 's', 'r', 'd'] 4 \n", "25 ['t', 'a', 'h', 'd', 'l', 'u', 'm', 'w', 'c', ... 7 \n", "26 ['o', 'h', 's', 'd', 'u', 'm', 'w', 'c', 'y', ... 7 \n", "27 ['e', 't', 'i', 'n'] 7 \n", "28 ['o', 'h', 'n', 'r', 'd', 'u', 'm', 'w', 'c', ... 9 \n", "29 ['i', 'h', 'n', 's', 'l'] 7 \n", ".. ... ... \n", "970 ['t', 'o', 'i', 'n', 'r', 'd', 'l', 'u', 'm'] 6 \n", "971 ['a', 'o', 'h', 'n', 'd', 'u', 'm'] 8 \n", "972 ['t', 'a', 'o', 'h', 's', 'r', 'd', 'l', 'm', ... 5 \n", "973 ['e', 'o', 'h', 'd', 'l', 'u', 'm', 'w'] 9 \n", "974 ['e', 't', 'o', 'i', 'r', 'u', 'm', 'w', 'c', ... 8 \n", "975 ['t', 'a', 'i', 'n', 's', 'r', 'd'] 5 \n", "976 ['a', 'i', 'h', 'n', 's', 'd', 'l', 'u', 'w', ... 7 \n", "977 ['a', 'o', 'h', 'd', 'l', 'm', 'w', 'c', 'y', ... 7 \n", "978 ['t', 'a', 'o', 'i', 'h', 'n', 's', 'r', 'd', ... 2 \n", "979 ['e', 't', 'o', 'h', 's', 'd', 'l', 'u', 'm', ... 5 \n", "980 ['t', 'o', 'i', 'h', 'n', 's', 'u', 'm', 'w', ... 7 \n", "981 ['e', 'a', 'i', 'h', 'r', 'd', 'l'] 5 \n", "982 ['e', 't', 'a', 'i', 'h', 'n', 's', 'r', 'd', ... 1 \n", "983 ['t', 'a', 'h', 'r', 'd', 'l', 'm', 'w', 'c', ... 6 \n", "984 ['e', 't', 'o', 'i', 'h', 'r', 'u', 'm', 'w', ... 6 \n", "985 ['t', 'a', 'i', 'n', 's', 'r', 'd', 'u', 'm', ... 4 \n", "986 ['a', 'i', 'h', 'n', 'r', 'd', 'l', 'u'] 5 \n", "987 ['e', 't', 'a', 'h', 'r', 'l', 'u', 'm', 'w', ... 6 \n", "988 ['t', 'h', 's', 'r', 'd', 'l', 'u', 'm', 'w', ... 9 \n", "989 ['d', 'l', 'u', 'm', 'w'] 10 \n", "990 ['e', 'o', 'i', 'h', 'n', 'r', 'd', 'l', 'm', ... 5 \n", "991 ['t', 'o', 'i', 'h', 'n', 's', 'r', 'd', 'l', ... 4 \n", "992 ['t', 'o', 'i', 'h', 'd', 'u', 'm', 'w', 'y'] 11 \n", "993 ['a', 'o', 'h', 'l'] 10 \n", "994 ['a', 'h', 'n', 'r', 'd', 'm', 'w', 'y', 'f'] 10 \n", "995 ['t', 'o', 'i', 'h', 's', 'l', 'u', 'w', 'c', ... 7 \n", "996 ['h', 's', 'l', 'u', 'w', 'c', 'y'] 14 \n", "997 ['t', 'o', 'i', 'h', 'n', 'r', 'd', 'u', 'm', ... 6 \n", "998 ['t', 'a', 'o', 'i', 'h', 'd', 'l', 'u', 'm', ... 6 \n", "999 ['t', 'a', 'i', 'r', 'd', 'l', 'u', 'm', 'w'] 7 \n", "\n", " lives remaining game won word length \n", "0 0 False 4 \n", "1 0 False 9 \n", "2 0 False 7 \n", "3 0 False 9 \n", "4 0 False 3 \n", "5 0 False 8 \n", "6 0 False 10 \n", "7 6 True 6 \n", "8 0 False 9 \n", "9 0 False 7 \n", "10 0 False 11 \n", "11 1 True 7 \n", "12 4 True 6 \n", "13 6 True 5 \n", "14 0 False 13 \n", "15 0 False 10 \n", "16 2 True 8 \n", "17 0 False 10 \n", "18 3 True 12 \n", "19 0 False 6 \n", "20 5 True 10 \n", "21 0 False 4 \n", "22 0 False 7 \n", "23 0 False 3 \n", "24 2 True 4 \n", "25 0 False 10 \n", "26 0 False 8 \n", "27 6 True 7 \n", "28 0 False 10 \n", "29 5 True 7 \n", ".. ... ... ... \n", "970 1 True 6 \n", "971 3 True 8 \n", "972 0 False 6 \n", "973 2 True 9 \n", "974 0 False 9 \n", "975 3 True 5 \n", "976 0 False 8 \n", "977 0 False 9 \n", "978 0 False 4 \n", "979 0 False 7 \n", "980 0 False 10 \n", "981 3 True 5 \n", "982 0 False 3 \n", "983 0 False 7 \n", "984 0 False 7 \n", "985 0 False 6 \n", "986 2 True 5 \n", "987 0 False 7 \n", "988 0 False 10 \n", "989 5 True 10 \n", "990 0 False 6 \n", "991 0 False 6 \n", "992 1 True 11 \n", "993 6 True 10 \n", "994 1 True 10 \n", "995 0 False 8 \n", "996 3 True 14 \n", "997 0 False 7 \n", "998 0 False 7 \n", "999 1 True 7 \n", "\n", "[1000 rows x 7 columns]" ] } ], "prompt_number": 36 }, { "cell_type": "code", "collapsed": false, "input": [ "fixed_order['lives remaining'].hist()" ], "language": "python", "metadata": {}, "outputs": [ { "metadata": {}, "output_type": "pyout", "prompt_number": 37, "text": [ "" ] }, { "metadata": {}, "output_type": "display_data", "png": "iVBORw0KGgoAAAANSUhEUgAAAXgAAAEACAYAAAC57G0KAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAE1xJREFUeJzt3W2MXFd9x/GviePykMT2impjm0jjBptgCWqgcWkBMXFt\nCyqw86oyaqs1bXnjtlBQwXaryryp61qq4EXVN7Swi4pNXUCWg2TXdvFQHiqbgoeamK1tmlVZjBdS\nU0hCH5J4++Kc8Zks3s2dy+ycOzPfjzS699ydmXvy1+a/J7+5cwOSJEmSJEmSJEmSJEmSJElD6xXA\nhbbHD4F3AyPAaeAycApY0faafcAVYBLY1svJSpLKeQHwXeA+4BDwgXh8D3Aw7m8AmsCdQA24Gl8n\nSaqwbcAX4v4kMBr3741jCKv3PW2vOQm8viezkyTd0unKeidwJO6PAjNxf4bU7FcD022vmQbWlJ2g\nJKmcThr8MuDtwN/f5mez8TGfhX4mSVoESzt47luBrwLfj+MZQjRzHVgFfC8e/w4ho295WTx2y+rV\nq2evXbtWZr6SNMy+Bby86JM7WcG/gxTPABwHxuL+GHCs7fhOwop/LbAOON/+RteuXWN2dtbH7Cz7\n9+/PPoeqPKyFtbAWCz+A+zvo2YVX8C8BtgDvajt2EDgK/DYwBfxaPH4pHr8EPAPsxohmXlNTU7mn\nUBnWIrEWibUor2iDfwp46ZxjNwhN/3YOxIckKROvT89s165duadQGdYisRaJtShvSabzzsY8SZJU\n0JIlS6CDvu0KPrNGo5F7CpVhLRJrkViL8mzwkjSgjGgkqU8Y0UiSABt8duaLibVIrEViLcqzwUvS\ngDKDl6Q+YQYvSQJs8NmZLybWIrEWibUozwYvSQPKDF6S+oQZvCQJ6Oz/6NRVjz32WM/POTIywvLl\ny3t+3oU0Gg3q9XruaVSCtUisRWItysvW4F/96s09Pd+zz/4Pr3rVKzl37nM9Pa8k5ZItg+/9/+Tp\nS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EewhX8ckJjG3YjhEXPSsIfuUeALVlnlEeN5zb4\nSWA07t8bx/Pq9c3G/BLU7dUIf6nPZZ5HLh8C3k+4nHbYrQW+D3wM+BrwEeDFWWeUxw3gL4D/AK4R\nvtp7JuuMqmGUENsQt6MLPLfnDd77mv6kuwh563uAJzPPJYe3Ad8j5O/+j03DavW1wF/F7VMM53/l\n3g/8AWHxs5rw78mv55xQBbW+6juvXjf47xA+XGy5j7CKH1Z3Ap8G/pYQ0QyjXwa2A48BR4DNwMez\nziiv6fj4Shx/itDoh80vAF8G/pNwX4TPEH5Xht0MIZoBWEVYHFWGX4JKlhAa2YdyT6RC3owZPMA/\nAevj/gd57rfAh8XPE64uexHh35UJ4HezziiPGj/5IWvr6sO9VOxDVvBLUC1vJGTOTUI8cYF0e4dh\n9Wa8igZCc/sK8HXCynUYr6KBcLVI6zLJCcJ/8Q6TI4TPH/6P8NnlOwkfPp+hopdJSpIkSZIkSZIk\nSZIkSZIkSZIkSdJP+H8AjZVf2lfqpwAAAABJRU5ErkJggg==\n", "text": [ "" ] } ], "prompt_number": 37 }, { "cell_type": "code", "collapsed": false, "input": [ "fixed_order.groupby('lives remaining').size()" ], "language": "python", "metadata": {}, "outputs": [ { "metadata": {}, "output_type": "pyout", "prompt_number": 38, "text": [ "lives remaining\n", "0 638\n", "1 82\n", "2 77\n", "3 61\n", "4 47\n", "5 41\n", "6 30\n", "7 13\n", "8 10\n", "9 1\n", "dtype: int64" ] } ], "prompt_number": 38 }, { "cell_type": "code", "collapsed": false, "input": [ "adaptive_pattern = pd.read_csv('adaptive_pattern.csv')\n", "adaptive_pattern" ], "language": "python", "metadata": {}, "outputs": [ { "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", " \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", " \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", " \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", " \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", " \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", "
targetdiscoveredwrong lettersnumber of hitslives remaininggame won
0 arboretums ['a', 'r', 'b', 'o', 'r', 'e', 't', 'u', 'm', ... ['n'] 10 9 True
1 coordination ['c', 'o', 'o', 'r', 'd', 'i', 'n', 'a', 't', ... ['e'] 12 9 True
2 refurbishes ['r', 'e', 'f', 'u', 'r', 'b', 'i', 's', 'h', ... [] 11 10 True
3 portal ['p', 'o', 'r', 't', 'a', 'l'] ['e', 's', 'i', 'm'] 6 6 True
4 incontinent ['i', 'n', 'c', 'o', 'n', 't', 'i', 'n', 'e', ... ['s'] 11 9 True
5 dilapidated ['d', 'i', 'l', 'a', 'p', 'i', 'd', 'a', 't', ... ['h'] 11 9 True
6 retake ['r', 'e', 't', 'a', 'k', 'e'] ['i'] 6 9 True
7 pored ['p', 'o', 'r', 'e', 'd'] ['s', 'a', 'w', 'l', 'k'] 5 5 True
8 dictators ['d', 'i', 'c', 't', 'a', 't', 'o', 'r', 's'] ['e'] 9 9 True
9 tutoring ['t', 'u', 't', 'o', 'r', 'i', 'n', 'g'] ['e', 'a'] 8 8 True
10 nites ['n', 'i', 't', 'e', 's'] ['a', 'r', 'k', 'm', 'b', 'c'] 5 4 True
11 geeky ['g', 'e', 'e', 'k', 'y'] ['s', 'd', 't', 'l'] 5 6 True
12 transsexuals ['t', 'r', 'a', 'n', 's', 's', 'e', 'x', 'u', ... ['i'] 12 9 True
13 explosively ['e', 'x', 'p', 'l', 'o', 's', 'i', 'v', 'e', ... ['n'] 11 9 True
14 hosteler ['h', 'o', 's', 't', 'e', 'l', 'e', 'r'] ['d'] 8 9 True
15 fake ['f', 'a', 'k', 'e'] ['l', 'r', 'm', 'p', 's', 'g', 'd', 't', 'w'] 4 1 True
16 thralling ['t', 'h', 'r', 'a', 'l', 'l', 'i', 'n', 'g'] ['e', 'o', 's'] 9 7 True
17 skew ['s', 'k', 'e', 'w'] ['t', 'd', 'l'] 4 7 True
18 sportscasters ['s', 'p', 'o', 'r', 't', 's', 'c', 'a', 's', ... ['i'] 13 9 True
19 forsaking ['f', 'o', 'r', 's', 'a', 'k', 'i', 'n', 'g'] ['e', 't', 'l'] 9 7 True
20 fevered ['f', 'e', 'v', 'e', 'r', 'e', 'd'] ['s', 'l'] 7 8 True
21 duds ['d', 'u', 'd', 's'] ['e', 'a', 'o', 'i', 'b', 'g', 't', 'p', 'm'] 4 1 True
22 beautiful ['b', 'e', 'a', 'u', 't', 'i', 'f', 'u', 'l'] ['s'] 9 9 True
23 swiftly ['s', 'w', 'i', 'f', 't', 'l', 'y'] ['e', 'a'] 7 8 True
24 pestering ['p', 'e', 's', 't', 'e', 'r', 'i', 'n', 'g'] [] 9 10 True
25 subcontinent ['s', 'u', 'b', 'c', 'o', 'n', 't', 'i', 'n', ... [] 12 10 True
26 reanimating ['r', 'e', 'a', 'n', 'i', 'm', 'a', 't', 'i', ... [] 11 10 True
27 undocumented ['u', 'n', 'd', 'o', 'c', 'u', 'm', 'e', 'n', ... ['s'] 12 9 True
28 adjoining ['a', 'd', 'j', 'o', 'i', 'n', 'i', 'n', 'g'] ['e'] 9 9 True
29 tabuing ['t', 'a', 'b', 'u', 'i', 'n', 'g'] ['e', 'l', 'r', 'p'] 7 6 True
.....................
970 taprooms ['t', 'a', 'p', 'r', 'o', 'o', 'm', 's'] ['e', 'i'] 8 8 True
971 enliven ['e', 'n', 'l', 'i', 'v', 'e', 'n'] ['s', 'd', 'r', 't'] 7 6 True
972 fathomless ['f', 'a', 't', 'h', 'o', 'm', 'l', 'e', 's', ... ['n'] 10 9 True
973 modules ['m', 'o', 'd', 'u', 'l', 'e', 's'] ['i', 'b'] 7 8 True
974 breeding ['b', 'r', 'e', 'e', 'd', 'i', 'n', 'g'] ['s', 'z'] 8 8 True
975 announces ['a', 'n', 'n', 'o', 'u', 'n', 'c', 'e', 's'] ['i'] 9 9 True
976 inertness ['i', 'n', 'e', 'r', 't', 'n', 'e', 's', 's'] [] 9 10 True
977 judgemental ['j', 'u', 'd', 'g', 'e', 'm', 'e', 'n', 't', ... ['s'] 11 9 True
978 refocus ['r', 'e', 'f', 'o', 'c', 'u', 's'] ['n', 'l'] 7 8 True
979 jigsawn ['j', 'i', 'g', 's', 'a', 'w', 'n'] ['e'] 7 9 True
980 boons ['b', 'o', 'o', 'n', 's'] ['e', 't', 'k', 'm', 'p', 'd', 'f', 'r'] 5 2 True
981 matriculated ['m', 'a', 't', 'r', 'i', 'c', 'u', 'l', 'a', ... ['s'] 12 9 True
982 sedan ['s', 'e', 'd', 'a', 'n'] ['l'] 5 9 True
983 photographed ['p', 'h', 'o', 't', 'o', 'g', 'r', 'a', 'p', ... ['i'] 12 9 True
984 lasted ['l', 'a', 's', 't', 'e', 'd'] [] 6 10 True
985 salty ['s', 'a', 'l', 't', 'y'] ['e'] 5 9 True
986 prohibits ['p', 'r', 'o', 'h', 'i', 'b', 'i', 't', 's'] ['e', 'n', 'y'] 9 7 True
987 encompass ['e', 'n', 'c', 'o', 'm', 'p', 'a', 's', 's'] ['i'] 9 9 True
988 sot ['s', 'o', 't'] ['a'] 3 9 True
989 blink ['b', 'l', 'i', 'n', 'k'] ['s', 'e', 'a', 'o', 'c', 't'] 5 4 True
990 popularise ['p', 'o', 'p', 'u', 'l', 'a', 'r', 'i', 's', ... [] 10 10 True
991 solarium ['s', 'o', 'l', 'a', 'r', 'i', 'u', 'm'] ['e', 'n', 't'] 8 7 True
992 sprucing ['s', 'p', 'r', 'u', 'c', 'i', 'n', 'g'] ['e', 'a', 'o'] 8 7 True
993 palisades ['p', 'a', 'l', 'i', 's', 'a', 'd', 'e', 's'] [] 9 10 True
994 tides ['t', 'i', 'd', 'e', 's'] ['a', 'l', 'r', 'k'] 5 6 True
995 hereby ['h', 'e', 'r', 'e', 'b', 'y'] ['t', 's'] 6 8 True
996 swarthier ['s', 'w', 'a', 'r', 't', 'h', 'i', 'e', 'r'] [] 9 10 True
997 unwillingness ['u', 'n', 'w', 'i', 'l', 'l', 'i', 'n', 'g', ... [] 13 10 True
998 shoeshine ['s', 'h', 'o', 'e', 's', 'h', 'i', 'n', 'e'] [] 9 10 True
999 substantiates ['s', 'u', 'b', 's', 't', 'a', 'n', 't', 'i', ... [] 13 10 True
\n", "

1000 rows \u00d7 6 columns

\n", "
" ], "metadata": {}, "output_type": "pyout", "prompt_number": 39, "text": [ " target discovered \\\n", "0 arboretums ['a', 'r', 'b', 'o', 'r', 'e', 't', 'u', 'm', ... \n", "1 coordination ['c', 'o', 'o', 'r', 'd', 'i', 'n', 'a', 't', ... \n", "2 refurbishes ['r', 'e', 'f', 'u', 'r', 'b', 'i', 's', 'h', ... \n", "3 portal ['p', 'o', 'r', 't', 'a', 'l'] \n", "4 incontinent ['i', 'n', 'c', 'o', 'n', 't', 'i', 'n', 'e', ... \n", "5 dilapidated ['d', 'i', 'l', 'a', 'p', 'i', 'd', 'a', 't', ... \n", "6 retake ['r', 'e', 't', 'a', 'k', 'e'] \n", "7 pored ['p', 'o', 'r', 'e', 'd'] \n", "8 dictators ['d', 'i', 'c', 't', 'a', 't', 'o', 'r', 's'] \n", "9 tutoring ['t', 'u', 't', 'o', 'r', 'i', 'n', 'g'] \n", "10 nites ['n', 'i', 't', 'e', 's'] \n", "11 geeky ['g', 'e', 'e', 'k', 'y'] \n", "12 transsexuals ['t', 'r', 'a', 'n', 's', 's', 'e', 'x', 'u', ... \n", "13 explosively ['e', 'x', 'p', 'l', 'o', 's', 'i', 'v', 'e', ... \n", "14 hosteler ['h', 'o', 's', 't', 'e', 'l', 'e', 'r'] \n", "15 fake ['f', 'a', 'k', 'e'] \n", "16 thralling ['t', 'h', 'r', 'a', 'l', 'l', 'i', 'n', 'g'] \n", "17 skew ['s', 'k', 'e', 'w'] \n", "18 sportscasters ['s', 'p', 'o', 'r', 't', 's', 'c', 'a', 's', ... \n", "19 forsaking ['f', 'o', 'r', 's', 'a', 'k', 'i', 'n', 'g'] \n", "20 fevered ['f', 'e', 'v', 'e', 'r', 'e', 'd'] \n", "21 duds ['d', 'u', 'd', 's'] \n", "22 beautiful ['b', 'e', 'a', 'u', 't', 'i', 'f', 'u', 'l'] \n", "23 swiftly ['s', 'w', 'i', 'f', 't', 'l', 'y'] \n", "24 pestering ['p', 'e', 's', 't', 'e', 'r', 'i', 'n', 'g'] \n", "25 subcontinent ['s', 'u', 'b', 'c', 'o', 'n', 't', 'i', 'n', ... \n", "26 reanimating ['r', 'e', 'a', 'n', 'i', 'm', 'a', 't', 'i', ... \n", "27 undocumented ['u', 'n', 'd', 'o', 'c', 'u', 'm', 'e', 'n', ... \n", "28 adjoining ['a', 'd', 'j', 'o', 'i', 'n', 'i', 'n', 'g'] \n", "29 tabuing ['t', 'a', 'b', 'u', 'i', 'n', 'g'] \n", ".. ... ... \n", "970 taprooms ['t', 'a', 'p', 'r', 'o', 'o', 'm', 's'] \n", "971 enliven ['e', 'n', 'l', 'i', 'v', 'e', 'n'] \n", "972 fathomless ['f', 'a', 't', 'h', 'o', 'm', 'l', 'e', 's', ... \n", "973 modules ['m', 'o', 'd', 'u', 'l', 'e', 's'] \n", "974 breeding ['b', 'r', 'e', 'e', 'd', 'i', 'n', 'g'] \n", "975 announces ['a', 'n', 'n', 'o', 'u', 'n', 'c', 'e', 's'] \n", "976 inertness ['i', 'n', 'e', 'r', 't', 'n', 'e', 's', 's'] \n", "977 judgemental ['j', 'u', 'd', 'g', 'e', 'm', 'e', 'n', 't', ... \n", "978 refocus ['r', 'e', 'f', 'o', 'c', 'u', 's'] \n", "979 jigsawn ['j', 'i', 'g', 's', 'a', 'w', 'n'] \n", "980 boons ['b', 'o', 'o', 'n', 's'] \n", "981 matriculated ['m', 'a', 't', 'r', 'i', 'c', 'u', 'l', 'a', ... \n", "982 sedan ['s', 'e', 'd', 'a', 'n'] \n", "983 photographed ['p', 'h', 'o', 't', 'o', 'g', 'r', 'a', 'p', ... \n", "984 lasted ['l', 'a', 's', 't', 'e', 'd'] \n", "985 salty ['s', 'a', 'l', 't', 'y'] \n", "986 prohibits ['p', 'r', 'o', 'h', 'i', 'b', 'i', 't', 's'] \n", "987 encompass ['e', 'n', 'c', 'o', 'm', 'p', 'a', 's', 's'] \n", "988 sot ['s', 'o', 't'] \n", "989 blink ['b', 'l', 'i', 'n', 'k'] \n", "990 popularise ['p', 'o', 'p', 'u', 'l', 'a', 'r', 'i', 's', ... \n", "991 solarium ['s', 'o', 'l', 'a', 'r', 'i', 'u', 'm'] \n", "992 sprucing ['s', 'p', 'r', 'u', 'c', 'i', 'n', 'g'] \n", "993 palisades ['p', 'a', 'l', 'i', 's', 'a', 'd', 'e', 's'] \n", "994 tides ['t', 'i', 'd', 'e', 's'] \n", "995 hereby ['h', 'e', 'r', 'e', 'b', 'y'] \n", "996 swarthier ['s', 'w', 'a', 'r', 't', 'h', 'i', 'e', 'r'] \n", "997 unwillingness ['u', 'n', 'w', 'i', 'l', 'l', 'i', 'n', 'g', ... \n", "998 shoeshine ['s', 'h', 'o', 'e', 's', 'h', 'i', 'n', 'e'] \n", "999 substantiates ['s', 'u', 'b', 's', 't', 'a', 'n', 't', 'i', ... \n", "\n", " wrong letters number of hits \\\n", "0 ['n'] 10 \n", "1 ['e'] 12 \n", "2 [] 11 \n", "3 ['e', 's', 'i', 'm'] 6 \n", "4 ['s'] 11 \n", "5 ['h'] 11 \n", "6 ['i'] 6 \n", "7 ['s', 'a', 'w', 'l', 'k'] 5 \n", "8 ['e'] 9 \n", "9 ['e', 'a'] 8 \n", "10 ['a', 'r', 'k', 'm', 'b', 'c'] 5 \n", "11 ['s', 'd', 't', 'l'] 5 \n", "12 ['i'] 12 \n", "13 ['n'] 11 \n", "14 ['d'] 8 \n", "15 ['l', 'r', 'm', 'p', 's', 'g', 'd', 't', 'w'] 4 \n", "16 ['e', 'o', 's'] 9 \n", "17 ['t', 'd', 'l'] 4 \n", "18 ['i'] 13 \n", "19 ['e', 't', 'l'] 9 \n", "20 ['s', 'l'] 7 \n", "21 ['e', 'a', 'o', 'i', 'b', 'g', 't', 'p', 'm'] 4 \n", "22 ['s'] 9 \n", "23 ['e', 'a'] 7 \n", "24 [] 9 \n", "25 [] 12 \n", "26 [] 11 \n", "27 ['s'] 12 \n", "28 ['e'] 9 \n", "29 ['e', 'l', 'r', 'p'] 7 \n", ".. ... ... \n", "970 ['e', 'i'] 8 \n", "971 ['s', 'd', 'r', 't'] 7 \n", "972 ['n'] 10 \n", "973 ['i', 'b'] 7 \n", "974 ['s', 'z'] 8 \n", "975 ['i'] 9 \n", "976 [] 9 \n", "977 ['s'] 11 \n", "978 ['n', 'l'] 7 \n", "979 ['e'] 7 \n", "980 ['e', 't', 'k', 'm', 'p', 'd', 'f', 'r'] 5 \n", "981 ['s'] 12 \n", "982 ['l'] 5 \n", "983 ['i'] 12 \n", "984 [] 6 \n", "985 ['e'] 5 \n", "986 ['e', 'n', 'y'] 9 \n", "987 ['i'] 9 \n", "988 ['a'] 3 \n", "989 ['s', 'e', 'a', 'o', 'c', 't'] 5 \n", "990 [] 10 \n", "991 ['e', 'n', 't'] 8 \n", "992 ['e', 'a', 'o'] 8 \n", "993 [] 9 \n", "994 ['a', 'l', 'r', 'k'] 5 \n", "995 ['t', 's'] 6 \n", "996 [] 9 \n", "997 [] 13 \n", "998 [] 9 \n", "999 [] 13 \n", "\n", " lives remaining game won \n", "0 9 True \n", "1 9 True \n", "2 10 True \n", "3 6 True \n", "4 9 True \n", "5 9 True \n", "6 9 True \n", "7 5 True \n", "8 9 True \n", "9 8 True \n", "10 4 True \n", "11 6 True \n", "12 9 True \n", "13 9 True \n", "14 9 True \n", "15 1 True \n", "16 7 True \n", "17 7 True \n", "18 9 True \n", "19 7 True \n", "20 8 True \n", "21 1 True \n", "22 9 True \n", "23 8 True \n", "24 10 True \n", "25 10 True \n", "26 10 True \n", "27 9 True \n", "28 9 True \n", "29 6 True \n", ".. ... ... \n", "970 8 True \n", "971 6 True \n", "972 9 True \n", "973 8 True \n", "974 8 True \n", "975 9 True \n", "976 10 True \n", "977 9 True \n", "978 8 True \n", "979 9 True \n", "980 2 True \n", "981 9 True \n", "982 9 True \n", "983 9 True \n", "984 10 True \n", "985 9 True \n", "986 7 True \n", "987 9 True \n", "988 9 True \n", "989 4 True \n", "990 10 True \n", "991 7 True \n", "992 7 True \n", "993 10 True \n", "994 6 True \n", "995 8 True \n", "996 10 True \n", "997 10 True \n", "998 10 True \n", "999 10 True \n", "\n", "[1000 rows x 6 columns]" ] } ], "prompt_number": 39 }, { "cell_type": "code", "collapsed": false, "input": [ "adaptive_pattern['word length'] = adaptive_pattern.apply(lambda r: len(r['target']), axis=1)\n", "adaptive_pattern" ], "language": "python", "metadata": {}, "outputs": [ { "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", " \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", " \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", " \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", " \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", " \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", " \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", "
targetdiscoveredwrong lettersnumber of hitslives remaininggame wonword length
0 arboretums ['a', 'r', 'b', 'o', 'r', 'e', 't', 'u', 'm', ... ['n'] 10 9 True 10
1 coordination ['c', 'o', 'o', 'r', 'd', 'i', 'n', 'a', 't', ... ['e'] 12 9 True 12
2 refurbishes ['r', 'e', 'f', 'u', 'r', 'b', 'i', 's', 'h', ... [] 11 10 True 11
3 portal ['p', 'o', 'r', 't', 'a', 'l'] ['e', 's', 'i', 'm'] 6 6 True 6
4 incontinent ['i', 'n', 'c', 'o', 'n', 't', 'i', 'n', 'e', ... ['s'] 11 9 True 11
5 dilapidated ['d', 'i', 'l', 'a', 'p', 'i', 'd', 'a', 't', ... ['h'] 11 9 True 11
6 retake ['r', 'e', 't', 'a', 'k', 'e'] ['i'] 6 9 True 6
7 pored ['p', 'o', 'r', 'e', 'd'] ['s', 'a', 'w', 'l', 'k'] 5 5 True 5
8 dictators ['d', 'i', 'c', 't', 'a', 't', 'o', 'r', 's'] ['e'] 9 9 True 9
9 tutoring ['t', 'u', 't', 'o', 'r', 'i', 'n', 'g'] ['e', 'a'] 8 8 True 8
10 nites ['n', 'i', 't', 'e', 's'] ['a', 'r', 'k', 'm', 'b', 'c'] 5 4 True 5
11 geeky ['g', 'e', 'e', 'k', 'y'] ['s', 'd', 't', 'l'] 5 6 True 5
12 transsexuals ['t', 'r', 'a', 'n', 's', 's', 'e', 'x', 'u', ... ['i'] 12 9 True 12
13 explosively ['e', 'x', 'p', 'l', 'o', 's', 'i', 'v', 'e', ... ['n'] 11 9 True 11
14 hosteler ['h', 'o', 's', 't', 'e', 'l', 'e', 'r'] ['d'] 8 9 True 8
15 fake ['f', 'a', 'k', 'e'] ['l', 'r', 'm', 'p', 's', 'g', 'd', 't', 'w'] 4 1 True 4
16 thralling ['t', 'h', 'r', 'a', 'l', 'l', 'i', 'n', 'g'] ['e', 'o', 's'] 9 7 True 9
17 skew ['s', 'k', 'e', 'w'] ['t', 'd', 'l'] 4 7 True 4
18 sportscasters ['s', 'p', 'o', 'r', 't', 's', 'c', 'a', 's', ... ['i'] 13 9 True 13
19 forsaking ['f', 'o', 'r', 's', 'a', 'k', 'i', 'n', 'g'] ['e', 't', 'l'] 9 7 True 9
20 fevered ['f', 'e', 'v', 'e', 'r', 'e', 'd'] ['s', 'l'] 7 8 True 7
21 duds ['d', 'u', 'd', 's'] ['e', 'a', 'o', 'i', 'b', 'g', 't', 'p', 'm'] 4 1 True 4
22 beautiful ['b', 'e', 'a', 'u', 't', 'i', 'f', 'u', 'l'] ['s'] 9 9 True 9
23 swiftly ['s', 'w', 'i', 'f', 't', 'l', 'y'] ['e', 'a'] 7 8 True 7
24 pestering ['p', 'e', 's', 't', 'e', 'r', 'i', 'n', 'g'] [] 9 10 True 9
25 subcontinent ['s', 'u', 'b', 'c', 'o', 'n', 't', 'i', 'n', ... [] 12 10 True 12
26 reanimating ['r', 'e', 'a', 'n', 'i', 'm', 'a', 't', 'i', ... [] 11 10 True 11
27 undocumented ['u', 'n', 'd', 'o', 'c', 'u', 'm', 'e', 'n', ... ['s'] 12 9 True 12
28 adjoining ['a', 'd', 'j', 'o', 'i', 'n', 'i', 'n', 'g'] ['e'] 9 9 True 9
29 tabuing ['t', 'a', 'b', 'u', 'i', 'n', 'g'] ['e', 'l', 'r', 'p'] 7 6 True 7
........................
970 taprooms ['t', 'a', 'p', 'r', 'o', 'o', 'm', 's'] ['e', 'i'] 8 8 True 8
971 enliven ['e', 'n', 'l', 'i', 'v', 'e', 'n'] ['s', 'd', 'r', 't'] 7 6 True 7
972 fathomless ['f', 'a', 't', 'h', 'o', 'm', 'l', 'e', 's', ... ['n'] 10 9 True 10
973 modules ['m', 'o', 'd', 'u', 'l', 'e', 's'] ['i', 'b'] 7 8 True 7
974 breeding ['b', 'r', 'e', 'e', 'd', 'i', 'n', 'g'] ['s', 'z'] 8 8 True 8
975 announces ['a', 'n', 'n', 'o', 'u', 'n', 'c', 'e', 's'] ['i'] 9 9 True 9
976 inertness ['i', 'n', 'e', 'r', 't', 'n', 'e', 's', 's'] [] 9 10 True 9
977 judgemental ['j', 'u', 'd', 'g', 'e', 'm', 'e', 'n', 't', ... ['s'] 11 9 True 11
978 refocus ['r', 'e', 'f', 'o', 'c', 'u', 's'] ['n', 'l'] 7 8 True 7
979 jigsawn ['j', 'i', 'g', 's', 'a', 'w', 'n'] ['e'] 7 9 True 7
980 boons ['b', 'o', 'o', 'n', 's'] ['e', 't', 'k', 'm', 'p', 'd', 'f', 'r'] 5 2 True 5
981 matriculated ['m', 'a', 't', 'r', 'i', 'c', 'u', 'l', 'a', ... ['s'] 12 9 True 12
982 sedan ['s', 'e', 'd', 'a', 'n'] ['l'] 5 9 True 5
983 photographed ['p', 'h', 'o', 't', 'o', 'g', 'r', 'a', 'p', ... ['i'] 12 9 True 12
984 lasted ['l', 'a', 's', 't', 'e', 'd'] [] 6 10 True 6
985 salty ['s', 'a', 'l', 't', 'y'] ['e'] 5 9 True 5
986 prohibits ['p', 'r', 'o', 'h', 'i', 'b', 'i', 't', 's'] ['e', 'n', 'y'] 9 7 True 9
987 encompass ['e', 'n', 'c', 'o', 'm', 'p', 'a', 's', 's'] ['i'] 9 9 True 9
988 sot ['s', 'o', 't'] ['a'] 3 9 True 3
989 blink ['b', 'l', 'i', 'n', 'k'] ['s', 'e', 'a', 'o', 'c', 't'] 5 4 True 5
990 popularise ['p', 'o', 'p', 'u', 'l', 'a', 'r', 'i', 's', ... [] 10 10 True 10
991 solarium ['s', 'o', 'l', 'a', 'r', 'i', 'u', 'm'] ['e', 'n', 't'] 8 7 True 8
992 sprucing ['s', 'p', 'r', 'u', 'c', 'i', 'n', 'g'] ['e', 'a', 'o'] 8 7 True 8
993 palisades ['p', 'a', 'l', 'i', 's', 'a', 'd', 'e', 's'] [] 9 10 True 9
994 tides ['t', 'i', 'd', 'e', 's'] ['a', 'l', 'r', 'k'] 5 6 True 5
995 hereby ['h', 'e', 'r', 'e', 'b', 'y'] ['t', 's'] 6 8 True 6
996 swarthier ['s', 'w', 'a', 'r', 't', 'h', 'i', 'e', 'r'] [] 9 10 True 9
997 unwillingness ['u', 'n', 'w', 'i', 'l', 'l', 'i', 'n', 'g', ... [] 13 10 True 13
998 shoeshine ['s', 'h', 'o', 'e', 's', 'h', 'i', 'n', 'e'] [] 9 10 True 9
999 substantiates ['s', 'u', 'b', 's', 't', 'a', 'n', 't', 'i', ... [] 13 10 True 13
\n", "

1000 rows \u00d7 7 columns

\n", "
" ], "metadata": {}, "output_type": "pyout", "prompt_number": 43, "text": [ " target discovered \\\n", "0 arboretums ['a', 'r', 'b', 'o', 'r', 'e', 't', 'u', 'm', ... \n", "1 coordination ['c', 'o', 'o', 'r', 'd', 'i', 'n', 'a', 't', ... \n", "2 refurbishes ['r', 'e', 'f', 'u', 'r', 'b', 'i', 's', 'h', ... \n", "3 portal ['p', 'o', 'r', 't', 'a', 'l'] \n", "4 incontinent ['i', 'n', 'c', 'o', 'n', 't', 'i', 'n', 'e', ... \n", "5 dilapidated ['d', 'i', 'l', 'a', 'p', 'i', 'd', 'a', 't', ... \n", "6 retake ['r', 'e', 't', 'a', 'k', 'e'] \n", "7 pored ['p', 'o', 'r', 'e', 'd'] \n", "8 dictators ['d', 'i', 'c', 't', 'a', 't', 'o', 'r', 's'] \n", "9 tutoring ['t', 'u', 't', 'o', 'r', 'i', 'n', 'g'] \n", "10 nites ['n', 'i', 't', 'e', 's'] \n", "11 geeky ['g', 'e', 'e', 'k', 'y'] \n", "12 transsexuals ['t', 'r', 'a', 'n', 's', 's', 'e', 'x', 'u', ... \n", "13 explosively ['e', 'x', 'p', 'l', 'o', 's', 'i', 'v', 'e', ... \n", "14 hosteler ['h', 'o', 's', 't', 'e', 'l', 'e', 'r'] \n", "15 fake ['f', 'a', 'k', 'e'] \n", "16 thralling ['t', 'h', 'r', 'a', 'l', 'l', 'i', 'n', 'g'] \n", "17 skew ['s', 'k', 'e', 'w'] \n", "18 sportscasters ['s', 'p', 'o', 'r', 't', 's', 'c', 'a', 's', ... \n", "19 forsaking ['f', 'o', 'r', 's', 'a', 'k', 'i', 'n', 'g'] \n", "20 fevered ['f', 'e', 'v', 'e', 'r', 'e', 'd'] \n", "21 duds ['d', 'u', 'd', 's'] \n", "22 beautiful ['b', 'e', 'a', 'u', 't', 'i', 'f', 'u', 'l'] \n", "23 swiftly ['s', 'w', 'i', 'f', 't', 'l', 'y'] \n", "24 pestering ['p', 'e', 's', 't', 'e', 'r', 'i', 'n', 'g'] \n", "25 subcontinent ['s', 'u', 'b', 'c', 'o', 'n', 't', 'i', 'n', ... \n", "26 reanimating ['r', 'e', 'a', 'n', 'i', 'm', 'a', 't', 'i', ... \n", "27 undocumented ['u', 'n', 'd', 'o', 'c', 'u', 'm', 'e', 'n', ... \n", "28 adjoining ['a', 'd', 'j', 'o', 'i', 'n', 'i', 'n', 'g'] \n", "29 tabuing ['t', 'a', 'b', 'u', 'i', 'n', 'g'] \n", ".. ... ... \n", "970 taprooms ['t', 'a', 'p', 'r', 'o', 'o', 'm', 's'] \n", "971 enliven ['e', 'n', 'l', 'i', 'v', 'e', 'n'] \n", "972 fathomless ['f', 'a', 't', 'h', 'o', 'm', 'l', 'e', 's', ... \n", "973 modules ['m', 'o', 'd', 'u', 'l', 'e', 's'] \n", "974 breeding ['b', 'r', 'e', 'e', 'd', 'i', 'n', 'g'] \n", "975 announces ['a', 'n', 'n', 'o', 'u', 'n', 'c', 'e', 's'] \n", "976 inertness ['i', 'n', 'e', 'r', 't', 'n', 'e', 's', 's'] \n", "977 judgemental ['j', 'u', 'd', 'g', 'e', 'm', 'e', 'n', 't', ... \n", "978 refocus ['r', 'e', 'f', 'o', 'c', 'u', 's'] \n", "979 jigsawn ['j', 'i', 'g', 's', 'a', 'w', 'n'] \n", "980 boons ['b', 'o', 'o', 'n', 's'] \n", "981 matriculated ['m', 'a', 't', 'r', 'i', 'c', 'u', 'l', 'a', ... \n", "982 sedan ['s', 'e', 'd', 'a', 'n'] \n", "983 photographed ['p', 'h', 'o', 't', 'o', 'g', 'r', 'a', 'p', ... \n", "984 lasted ['l', 'a', 's', 't', 'e', 'd'] \n", "985 salty ['s', 'a', 'l', 't', 'y'] \n", "986 prohibits ['p', 'r', 'o', 'h', 'i', 'b', 'i', 't', 's'] \n", "987 encompass ['e', 'n', 'c', 'o', 'm', 'p', 'a', 's', 's'] \n", "988 sot ['s', 'o', 't'] \n", "989 blink ['b', 'l', 'i', 'n', 'k'] \n", "990 popularise ['p', 'o', 'p', 'u', 'l', 'a', 'r', 'i', 's', ... \n", "991 solarium ['s', 'o', 'l', 'a', 'r', 'i', 'u', 'm'] \n", "992 sprucing ['s', 'p', 'r', 'u', 'c', 'i', 'n', 'g'] \n", "993 palisades ['p', 'a', 'l', 'i', 's', 'a', 'd', 'e', 's'] \n", "994 tides ['t', 'i', 'd', 'e', 's'] \n", "995 hereby ['h', 'e', 'r', 'e', 'b', 'y'] \n", "996 swarthier ['s', 'w', 'a', 'r', 't', 'h', 'i', 'e', 'r'] \n", "997 unwillingness ['u', 'n', 'w', 'i', 'l', 'l', 'i', 'n', 'g', ... \n", "998 shoeshine ['s', 'h', 'o', 'e', 's', 'h', 'i', 'n', 'e'] \n", "999 substantiates ['s', 'u', 'b', 's', 't', 'a', 'n', 't', 'i', ... \n", "\n", " wrong letters number of hits \\\n", "0 ['n'] 10 \n", "1 ['e'] 12 \n", "2 [] 11 \n", "3 ['e', 's', 'i', 'm'] 6 \n", "4 ['s'] 11 \n", "5 ['h'] 11 \n", "6 ['i'] 6 \n", "7 ['s', 'a', 'w', 'l', 'k'] 5 \n", "8 ['e'] 9 \n", "9 ['e', 'a'] 8 \n", "10 ['a', 'r', 'k', 'm', 'b', 'c'] 5 \n", "11 ['s', 'd', 't', 'l'] 5 \n", "12 ['i'] 12 \n", "13 ['n'] 11 \n", "14 ['d'] 8 \n", "15 ['l', 'r', 'm', 'p', 's', 'g', 'd', 't', 'w'] 4 \n", "16 ['e', 'o', 's'] 9 \n", "17 ['t', 'd', 'l'] 4 \n", "18 ['i'] 13 \n", "19 ['e', 't', 'l'] 9 \n", "20 ['s', 'l'] 7 \n", "21 ['e', 'a', 'o', 'i', 'b', 'g', 't', 'p', 'm'] 4 \n", "22 ['s'] 9 \n", "23 ['e', 'a'] 7 \n", "24 [] 9 \n", "25 [] 12 \n", "26 [] 11 \n", "27 ['s'] 12 \n", "28 ['e'] 9 \n", "29 ['e', 'l', 'r', 'p'] 7 \n", ".. ... ... \n", "970 ['e', 'i'] 8 \n", "971 ['s', 'd', 'r', 't'] 7 \n", "972 ['n'] 10 \n", "973 ['i', 'b'] 7 \n", "974 ['s', 'z'] 8 \n", "975 ['i'] 9 \n", "976 [] 9 \n", "977 ['s'] 11 \n", "978 ['n', 'l'] 7 \n", "979 ['e'] 7 \n", "980 ['e', 't', 'k', 'm', 'p', 'd', 'f', 'r'] 5 \n", "981 ['s'] 12 \n", "982 ['l'] 5 \n", "983 ['i'] 12 \n", "984 [] 6 \n", "985 ['e'] 5 \n", "986 ['e', 'n', 'y'] 9 \n", "987 ['i'] 9 \n", "988 ['a'] 3 \n", "989 ['s', 'e', 'a', 'o', 'c', 't'] 5 \n", "990 [] 10 \n", "991 ['e', 'n', 't'] 8 \n", "992 ['e', 'a', 'o'] 8 \n", "993 [] 9 \n", "994 ['a', 'l', 'r', 'k'] 5 \n", "995 ['t', 's'] 6 \n", "996 [] 9 \n", "997 [] 13 \n", "998 [] 9 \n", "999 [] 13 \n", "\n", " lives remaining game won word length \n", "0 9 True 10 \n", "1 9 True 12 \n", "2 10 True 11 \n", "3 6 True 6 \n", "4 9 True 11 \n", "5 9 True 11 \n", "6 9 True 6 \n", "7 5 True 5 \n", "8 9 True 9 \n", "9 8 True 8 \n", "10 4 True 5 \n", "11 6 True 5 \n", "12 9 True 12 \n", "13 9 True 11 \n", "14 9 True 8 \n", "15 1 True 4 \n", "16 7 True 9 \n", "17 7 True 4 \n", "18 9 True 13 \n", "19 7 True 9 \n", "20 8 True 7 \n", "21 1 True 4 \n", "22 9 True 9 \n", "23 8 True 7 \n", "24 10 True 9 \n", "25 10 True 12 \n", "26 10 True 11 \n", "27 9 True 12 \n", "28 9 True 9 \n", "29 6 True 7 \n", ".. ... ... ... \n", "970 8 True 8 \n", "971 6 True 7 \n", "972 9 True 10 \n", "973 8 True 7 \n", "974 8 True 8 \n", "975 9 True 9 \n", "976 10 True 9 \n", "977 9 True 11 \n", "978 8 True 7 \n", "979 9 True 7 \n", "980 2 True 5 \n", "981 9 True 12 \n", "982 9 True 5 \n", "983 9 True 12 \n", "984 10 True 6 \n", "985 9 True 5 \n", "986 7 True 9 \n", "987 9 True 9 \n", "988 9 True 3 \n", "989 4 True 5 \n", "990 10 True 10 \n", "991 7 True 8 \n", "992 7 True 8 \n", "993 10 True 9 \n", "994 6 True 5 \n", "995 8 True 6 \n", "996 10 True 9 \n", "997 10 True 13 \n", "998 10 True 9 \n", "999 10 True 13 \n", "\n", "[1000 rows x 7 columns]" ] } ], "prompt_number": 43 }, { "cell_type": "code", "collapsed": false, "input": [ "adaptive_pattern['lives remaining'].hist()" ], "language": "python", "metadata": {}, "outputs": [ { "metadata": {}, "output_type": "pyout", "prompt_number": 41, "text": [ "" ] }, { "metadata": {}, "output_type": "display_data", "png": "iVBORw0KGgoAAAANSUhEUgAAAXgAAAEACAYAAAC57G0KAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAEkNJREFUeJzt3WuMnNV9x/HvxsslBsxipfUNk0GARS1VXVAhSS9ikjrI\nkRLDK6BqK6+hfUMVsKIktiu1Tl+UGksVqEG8aGjCRsUWFlBqR8XYpmwvqrikYVPK4oJJrWZxvBDA\nwlyk4nj74pzlDOvLXNjdc+aZ70cazZxnntn5+4/9n2d/88wAkiRJkiRJkiRJkiRJkiRJPW0AeAh4\nERgDPgMsBPYCLwF74j5TNgEvA/uBa+e0UklSW4aBm+PtfuB8YCvwzbhtA7Al3l4JjAJnADXgAPCJ\nuSpUktS684GfnGT7fmBRvL04riEcvW9o2G838NlZq06SdFKtHFlfDLwOfA/4EfAd4BzCcJ+I+0yQ\nhv1SYLzh8ePAspkoVpLUulYGfD9wJXBvvH4X2Dhtn8l4OZXT3SdJmgX9LewzHi/PxvVDhBjmMCGa\nOQwsAV6L978KLG94/IVx24eWLl06eejQoc6rlqTe9Apwaas7t3IEfxj4KbAirlcBLwC7gLVx21rg\n0Xh7J3ATcCYh3rkMeKbxBx46dIjJyUkvk5Ns3rw5ew2lXOyFvbAXp78Al7Q63K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8CPgO8A\n87NWlMebwF8B/wscAo4QDgJ63SJCbEO8XnSafed8wOf+2GiJziXkrbcDJXzr2Fz7MvAaIX8v4kTj\nzPqBK4F74/W79OZvuZcA6wkHP0sJ/05+L2dBBZqkyUyd6wHfyoegeskZwMPA3xEiml70G8Aa4H+A\n7cAXgO9nrSiv8Xh5Nq4fIgz6XvPrwL8DbwDHgEcIf1d63QQhmgFYQjg4KoYfgkr6CIPsrtyFFOQa\nzOAB/gVYEW9/i5N83XYP+DXC2WWfJPxbGQbyfgVtHjVOfJN16uzDjRT2Jiv4Iagpv0XInEcJ8cRz\npG/g7FXX4Fk0EIbbs8CPCUeuvXgWDYSzRaZOkxwm/MbbS7YT3n/4P8J7l+sIbz7vo9DTJCVJkiRJ\nkiRJkiRJkiRJkiRJkiTpBP8PVR61Y/CYuisAAAAASUVORK5CYII=\n", "text": [ "" ] } ], "prompt_number": 41 }, { "cell_type": "code", "collapsed": false, "input": [ "adaptive_pattern.groupby('lives remaining').size()" ], "language": "python", "metadata": {}, "outputs": [ { "metadata": {}, "output_type": "pyout", "prompt_number": 42, "text": [ "lives remaining\n", "0 10\n", "1 7\n", "2 14\n", "3 14\n", "4 34\n", "5 41\n", "6 79\n", "7 108\n", "8 175\n", "9 260\n", "10 258\n", "dtype: int64" ] } ], "prompt_number": 42 }, { "cell_type": "code", "collapsed": false, "input": [], "language": "python", "metadata": {}, "outputs": [], "prompt_number": 42 } ], "metadata": {} } ] }