PandasasPTimportantnumbpieasnpandatleasttwostar P don't read C S V andwecoulddodatasetsmenwagedot C s V andthenwewanttodo, likethatactminwageinthatloop.
I thinkitwouldbethisloophere, right?
Thisone I don't wanttoAh, yeah, thatwasalljustconfirmationofwhatwastheproblem.
Soreally, justthisrighthere.
Copythatsaysfromtheprevioustutorial.
Umandthenwewanttosettheminwagecorehere.
Esothisbigyetthisbecomesourminwagecore.
Uh, it's notdothead.
That's like a typo.
Really?
AndthenmenwageCortahead.
Okay, cool.
Sothisisourcorrelationtable.
Nowwewant a graphit.
So, uh, ifyouhaven't alreadyopenup.
TerminalcommandpromptPip, installMatt, plotlive.
Butifyou'vebeenfollowingtheSiri's you'vealreadydonethatwouldbe a hardsyrizajumpinrandomly.
So I'm gonnaassumeeverybody's cutthethingswe'veinstalled.
Soforsofirstofall, withmaphotlib, wejustWe'rejustgonnadoimportMatt, MattplotlibdotPipelotas p l t.
So I'm guessingthatevenafterwesetthisthanwedoDidthisandit, like, resetitforwhateverreason.
Sofirsttothematshow, thenmodifytheticksand I betwecan't doit.
Showednowright?
Likethatwillstillbemessedup.
Orwouldit?
Andwhat's upwiththetext?
fascinating.
Okay, whateverwe'lldothisway.
Um, Okay, great.
Sothat's lookingprettyawesome.
Um, nowwhat?
Well, ifwelook, it's probablyreallyhardtoseehere, but, like, whatif I justprintlabelsout?
Umwell, yousee, weactuallyhavequite a fewoverlappingthatare, like, thesamename, likeam I am I So, Michigan, Minnesota, andanyanyanyelegant, like, 45 pennieshere.
So a lotoftimes, inthiscase, weonlyhave, like, 39 statesthatactuallyhadminimumwagedata, sowecouldtotallyfillthatinbyhand.
Butlateryoumightfindyouhave a datasetthat's muchlarger, andthenyou'vegot, like, somesortofvaluesthatjudgewant a mapthatdataset, anditwouldjustbeverycumbersometodobyhand.
Sohowcouldwefixthis?
Well, firstweneedtofindweneedsomewayofmappingthestatenametoum, too, Youknow, I gottoletterthing.
Sothefirstthing I woulddoisjustgoonlineandlookforone, right?
So, um, stateabbreviations.
So I wouldstartbyhere, andthenbasically, I think I started.
Yeah, foundendedupfindingthisone.
I think I startedhereandtheneventuallyledtothisone.
Sowhat I wanttodonowisjustincasewehaveissueswiththis, like, a lotoftimes.
If I havefromwriting a scriptthatgetsinformationfromtheweb, I reallyprobablyjustwanttorunthatonetimejustincasethatwebsitedecides I'vemadetoomanyrequestsor, youknow, whatever.
Sowhilewe'reatit, wemightaswelljustsavethisstateab 0.2 c s v andthenwe'llsavethatasdatasets.
Andwe'llmakethat, uh, statehave C s V.
Now a couplethingstothinkaboutwhenyousavethingsto a C S.
Andwe'veactuallycoveredquite a bitwith, like, thereedhtmlandfixing a bunchofstuff.
Yeah, soprettycool.
So I thinkinthenexttutorial, what I'd liketodoiswehaveminimumwagedatawecanbeginto, like, comparedatasetsin, like, lookatdatabetweenmultipledatasetsandtrytoderivemeaninginsomesubway.
Uh, we'renotgonnafindoutanythingtospectacular, butitwillgiveus a goodopportunitytojustkindofbringingMauroutsideindifferentdatasetsthatactuallyaren't evenfromthesamecause.