Skip to content

Instantly share code, notes, and snippets.

@fk-pixel
Created August 24, 2020 16:54
Show Gist options
  • Save fk-pixel/d5ee72c6fb07392c9db0469374e9d707 to your computer and use it in GitHub Desktop.
Save fk-pixel/d5ee72c6fb07392c9db0469374e9d707 to your computer and use it in GitHub Desktop.
countries = list(corona_dataset_aggregated.index)
max_infection_rates = [] #bu bos bir liste
for c in countries : #simdi bir döngü olusturuyoruz,her ülke icin liste ismini countries diye belirledigimiz icin karisiklik olmamasi icin her country ifadesini kisace her c diyelim:
max_infection_rates.append(corona_dataset_aggregated.loc[c].diff().max())
max_infection_rates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment