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
Currently the acaps dataset has a seperate row for each new policy adapted by a country, the goal is to to have one row for each country with the column values indication if a certain policy has been adapted or not (kind of like one hot encoding)
1.The idea is to transpose the rows for each policy to columns with value of 1 or 0 indicating if a policy has been adapted by a certain country.
A Basic approach would be a function to create a pivot table of the acaps dataset. The input would be the current acaps dataframe and the output the pivoted dataframe.
The text was updated successfully, but these errors were encountered:
Currently the acaps dataset has a seperate row for each new policy adapted by a country, the goal is to to have one row for each country with the column values indication if a certain policy has been adapted or not (kind of like one hot encoding)
Trello card : https://trello.com/c/V3JYaToE/88-social-distancing-policies
1.The idea is to transpose the rows for each policy to columns with value of 1 or 0 indicating if a policy has been adapted by a certain country.
The text was updated successfully, but these errors were encountered: