File size: 612 Bytes
7c52136
 
 
 
 
17dcef2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Important: run this script from the parent directory
# (the root directory in this repository)
#
# python3 list_scripts/5_remove_wrong_names.py

import pandas as pd

# Remove Japanese card names that are wrong on MTGJSON
wrongnames = [
    "Aether Barrier",
    "Aether Burst",
    "Aether Charge",
    "Aether Flash",
    "Aether Mutation",
    "Aether Sting",
    "Aether Storm",
    "Aether Tide",
    "Tainted Aether",
    "Tar Pit Warrior",
]

middleschool_df = pd.read_csv("data/middleschool_all_sets.csv")

# Write a CSV file
middleschool_df.to_csv("data/middleschool_all_sets_removed_wrong_names.csv")