{"action":"created","issue":{"url":"https://api.github.com/repos/open-source-economics/taxdata/issues/13","repository_url":"https://api.github.com/repos/open-source-economics/taxdata","labels_url":"https://api.github.com/repos/open-source-economics/taxdata/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/open-source-economics/taxdata/issues/13/comments","events_url":"https://api.github.com/repos/open-source-economics/taxdata/issues/13/events","html_url":"https://github.com/open-source-economics/taxdata/pull/13","id":137715980,"number":13,"title":"Updated script 1) remove extra variables 2) adjust variable names for 08 PUF","user":{"login":"Amy-Xu","id":10549597,"avatar_url":"https://avatars.githubusercontent.com/u/10549597?v=3","gravatar_id":"","url":"https://api.github.com/users/Amy-Xu","html_url":"https://github.com/Amy-Xu","followers_url":"https://api.github.com/users/Amy-Xu/followers","following_url":"https://api.github.com/users/Amy-Xu/following{/other_user}","gists_url":"https://api.github.com/users/Amy-Xu/gists{/gist_id}","starred_url":"https://api.github.com/users/Amy-Xu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amy-Xu/subscriptions","organizations_url":"https://api.github.com/users/Amy-Xu/orgs","repos_url":"https://api.github.com/users/Amy-Xu/repos","events_url":"https://api.github.com/users/Amy-Xu/events{/privacy}","received_events_url":"https://api.github.com/users/Amy-Xu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-03-01T23:10:36Z","updated_at":"2016-03-03T02:24:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/open-source-economics/taxdata/pulls/13","html_url":"https://github.com/open-source-economics/taxdata/pull/13","diff_url":"https://github.com/open-source-economics/taxdata/pull/13.diff","patch_url":"https://github.com/open-source-economics/taxdata/pull/13.patch"},"body":"@martinholmer Could you please review the script when you get a chance? Thanks"},"comment":{"url":"https://api.github.com/repos/open-source-economics/taxdata/issues/comments/191546897","html_url":"https://github.com/open-source-economics/taxdata/pull/13#issuecomment-191546897","issue_url":"https://api.github.com/repos/open-source-economics/taxdata/issues/13","id":191546897,"user":{"login":"martinholmer","id":12170745,"avatar_url":"https://avatars.githubusercontent.com/u/12170745?v=3","gravatar_id":"","url":"https://api.github.com/users/martinholmer","html_url":"https://github.com/martinholmer","followers_url":"https://api.github.com/users/martinholmer/followers","following_url":"https://api.github.com/users/martinholmer/following{/other_user}","gists_url":"https://api.github.com/users/martinholmer/gists{/gist_id}","starred_url":"https://api.github.com/users/martinholmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinholmer/subscriptions","organizations_url":"https://api.github.com/users/martinholmer/orgs","repos_url":"https://api.github.com/users/martinholmer/repos","events_url":"https://api.github.com/users/martinholmer/events{/privacy}","received_events_url":"https://api.github.com/users/martinholmer/received_events","type":"User","site_admin":false},"created_at":"2016-03-03T02:24:08Z","updated_at":"2016-03-03T02:24:08Z","body":"Amy,\r\nI'm confused.  I thought you said that Matt told you that John O'Hare was going to fix this problem soon.\r\n\r\nBut if you want to fix this problem in the ```puf-cps-processing.py``` script, then won't something like this work (warning: I haven't tested this code fragment)?\r\n```\r\ndf[df[varname]==np.nan] = 0.\r\n```\r\n\r\nWon't that assign zero for every NaN (missing value) for the dataframe column with ```varname```\r\n\r\ncc @Amy-Xu @MattHJensen "}}