Question: ifr = ifr.orderBy ( IFR , ascending = False ) ifr _ top = ifr.limit ( 1 0 ) . select (
ifr ifr.orderByIFR ascendingFalse
ifrtop ifr.limitselectState "IFR"toPandas
printTop States with Highest IFR:"
printifrtop
spark.stop i have calculated IFR for Top states with Highest IFR now i need to calculate and generate a Monthly
report just a print prompt will do of the top states having the highest Infection Fatality
Ratio IFR column name are dates from to
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
