|  | 
| 38 | 38 |  }, | 
| 39 | 39 |  { | 
| 40 | 40 |  "cell_type": "code", | 
| 41 |  | - "execution_count": 3, | 
|  | 41 | + "execution_count": 2, | 
| 42 | 42 |  "metadata": {}, | 
| 43 | 43 |  "outputs": [], | 
| 44 | 44 |  "source": [ | 
|  | 
| 56 | 56 |  }, | 
| 57 | 57 |  { | 
| 58 | 58 |  "cell_type": "code", | 
| 59 |  | - "execution_count": 6, | 
|  | 59 | + "execution_count": 8, | 
| 60 | 60 |  "metadata": {}, | 
| 61 | 61 |  "outputs": [], | 
| 62 | 62 |  "source": [ | 
| 63 |  | - "content_taxonomy = pd.read_csv(content_taxonomy_file, sep='\\t')" | 
|  | 63 | + "content_taxonomy = pd.read_csv(content_taxonomy_file, sep='\\t', header=0).fillna(\"\")" | 
| 64 | 64 |  ] | 
| 65 | 65 |  }, | 
| 66 | 66 |  { | 
|  | 
| 72 | 72 |  "name": "stdout", | 
| 73 | 73 |  "output_type": "stream", | 
| 74 | 74 |  "text": [ | 
| 75 |  | - " Relational ID System Unnamed: 1 Unnamed: 2 \\\n", | 
| 76 |  | - "0  Unique ID Parent Name \n", | 
| 77 |  | - "1 150 150  Attractions \n", | 
| 78 |  | - "2 151 150 Amusement and Theme Parks \n", | 
| 79 |  | - "3 179 150  Bars & Restaurants \n", | 
| 80 |  | - "4  181  150 Casinos & Gambling \n", | 
| 81 |  | - ".. ... ... ... \n", | 
| 82 |  | - "699 687 685 Role-Playing Video Games \n", | 
| 83 |  | - "700 688  685 Simulation Video Games \n", | 
| 84 |  | - "701 689 685  Sports Video Games \n", | 
| 85 |  | - "702 690  685  Strategy Video Games \n", | 
| 86 |  | - "703 389 NaN War and Conflicts \n", | 
|  | 75 | + " Unique ID Parent   Name Tier 1 \\\n", | 
|  | 76 | + "0 150 150  Attractions  Attractions \n", | 
|  | 77 | + "1 151 150  Amusement and Theme Parks Attractions \n", | 
|  | 78 | + "2 179 150  Bars & Restaurants Attractions \n", | 
|  | 79 | + "3 181 150  Casinos & Gambling  Attractions \n", | 
|  | 80 | + "4 153 150 Historic Site and Landmark Tours  Attractions \n", | 
|  | 81 | + ".. ... ...  ... ... \n", | 
|  | 82 | + "698 687 685 Role-Playing Video Games Video Gaming \n", | 
|  | 83 | + "699 688 685 Simulation Video Games  Video Gaming \n", | 
|  | 84 | + "700 689 685  Sports Video Games Video Gaming \n", | 
|  | 85 | + "701 690 685 Strategy Video Games Video Gaming \n", | 
|  | 86 | + "702 389 War and Conflicts War and Conflicts \n", | 
| 87 | 87 |  "\n", | 
| 88 |  | - " Content Taxonomy v3.0 Tiered Categories Unnamed: 4 \\\n", | 
| 89 |  | - "0 Tier 1 Tier 2 \n", | 
| 90 |  | - "1 Attractions  NaN \n", | 
| 91 |  | - "2 Attractions Amusement and Theme Parks \n", | 
| 92 |  | - "3 Attractions Bars & Restaurants \n", | 
| 93 |  | - "4 Attractions Casinos & Gambling \n", | 
| 94 |  | - ".. ... ... \n", | 
| 95 |  | - "699 Video Gaming  Video Game Genres \n", | 
| 96 |  | - "700 Video Gaming  Video Game Genres \n", | 
| 97 |  | - "701 Video Gaming  Video Game Genres \n", | 
| 98 |  | - "702 Video Gaming  Video Game Genres \n", | 
| 99 |  | - "703 War and Conflicts NaN \n", | 
|  | 88 | + "  Tier 2 Tier 3 Tier 4 \\\n", | 
|  | 89 | + "0  \n", | 
|  | 90 | + "1 Amusement and Theme Parks \n", | 
|  | 91 | + "2 Bars & Restaurants \n", | 
|  | 92 | + "3 Casinos & Gambling \n", | 
|  | 93 | + "4 Historic Site and Landmark Tours \n", | 
|  | 94 | + ".. ...  ... ... \n", | 
|  | 95 | + "698 Video Game Genres Role-Playing Video Games \n", | 
|  | 96 | + "699 Video Game Genres Simulation Video Games \n", | 
|  | 97 | + "700 Video Game Genres Sports Video Games \n", | 
|  | 98 | + "701 Video Game Genres Strategy Video Games \n", | 
|  | 99 | + "702  \n", | 
| 100 | 100 |  "\n", | 
| 101 |  | - "  Unnamed: 5 Unnamed: 6 Extension \n", | 
| 102 |  | - "0  Tier 3 Tier 4 NaN \n", | 
| 103 |  | - "1  NaN NaN NaN \n", | 
| 104 |  | - "2  NaN NaN NaN \n", | 
| 105 |  | - "3  NaN NaN NaN \n", | 
| 106 |  | - "4  NaN NaN NaN \n", | 
| 107 |  | - "..  ... ... ... \n", | 
| 108 |  | - "699 Role-Playing Video Games  NaN NaN \n", | 
| 109 |  | - "700 Simulation Video Games  NaN NaN \n", | 
| 110 |  | - "701 Sports Video Games NaN NaN \n", | 
| 111 |  | - "702 Strategy Video Games NaN NaN \n", | 
| 112 |  | - "703  NaN NaN NaN \n", | 
|  | 101 | + " Extension \n", | 
|  | 102 | + "0 \n", | 
|  | 103 | + "1 \n", | 
|  | 104 | + "2 \n", | 
|  | 105 | + "3 \n", | 
|  | 106 | + "4 \n", | 
|  | 107 | + ".. ... \n", | 
|  | 108 | + "698  \n", | 
|  | 109 | + "699 \n", | 
|  | 110 | + "700 \n", | 
|  | 111 | + "701 \n", | 
|  | 112 | + "702 \n", | 
| 113 | 113 |  "\n", | 
| 114 |  | - "[704 rows x 8 columns]\n" | 
|  | 114 | + "[703 rows x 8 columns]\n" | 
| 115 | 115 |  ] | 
| 116 | 116 |  } | 
| 117 | 117 |  ], | 
|  | 
0 commit comments