You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import numpy as np
import pandas as pd
import json
from collections import defaultdict
import glob
with open('../../BIGGESTLOG.json', 'r') as f:
sakistyle = json.load(f)
data = defaultdict(list)
for game in sakistyle:
for batter in game['awayBatters']:
for key in batter:
data[key].append(batter[key])
for batter in game['homeBatters']:
for key in batter:
data[key].append(batter[key])
df = pd.DataFrame(data)
df[df['_id'] == ''].to_csv('blanks_for_investigation.csv')
Very very low priority, this is not load bearing in my data mine, just want it written down somewhere.
Don't worry about this until you have literally nothing better to do.
The text was updated successfully, but these errors were encountered:
This was actually a known issue! I tried to figure out why but nothing I did worked without breaking, and I basically put it off to the side until I have nothing better to do.
File attached, generated with the following code:
blanks_for_investigation.txt
Very very low priority, this is not load bearing in my data mine, just want it written down somewhere.
Don't worry about this until you have literally nothing better to do.
The text was updated successfully, but these errors were encountered: