{"comment":{"url":"https://api.github.com/repos/biolprogramming/assignment-19/comments/17217840","html_url":"https://github.com/biolprogramming/assignment-19/commit/8f5265904926f6cc1adc98bc08daf34879a5e09c#commitcomment-17217840","id":17217840,"user":{"login":"ydong6","id":16856376,"avatar_url":"https://avatars.githubusercontent.com/u/16856376?v=3","gravatar_id":"","url":"https://api.github.com/users/ydong6","html_url":"https://github.com/ydong6","followers_url":"https://api.github.com/users/ydong6/followers","following_url":"https://api.github.com/users/ydong6/following{/other_user}","gists_url":"https://api.github.com/users/ydong6/gists{/gist_id}","starred_url":"https://api.github.com/users/ydong6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ydong6/subscriptions","organizations_url":"https://api.github.com/users/ydong6/orgs","repos_url":"https://api.github.com/users/ydong6/repos","events_url":"https://api.github.com/users/ydong6/events{/privacy}","received_events_url":"https://api.github.com/users/ydong6/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"8f5265904926f6cc1adc98bc08daf34879a5e09c","created_at":"2016-04-22T18:17:03Z","updated_at":"2016-04-22T18:17:03Z","body":"## Task 1\r\n\r\nIn the [amniote natural history database](http://esapubs.org/archive/ecol/E096/269/#data) (`task1-files`), there is a large CSV file containing attributes for a number of life history characteristics of amniotes.  Write a program that uses `pandas` to summarize attributes of this entire file **by order** (format below).  Write your output to a CSV file that looks like:\r\n\r\n```\r\nclass,order,parameter,mean(parameter),95CI(parameter),min(parameter),max(parameter),median(parameter)\r\nAves,Accipitriformes,female_maturity_d,xxx,yyy,zzz,qqq,sss\r\n```\r\n\r\nwhere you create all of these lines for all of the following parameters (across all orders in the database):\r\n\r\n```\r\nfemale_maturity_d\r\nlitter_or_clutch_size_n\r\nlitters_or_clutches_per_y\r\nadult_body_mass_g\r\nmaximum_longevity_y\r\nlongevity_y\r\nfemale_body_mass_g\r\nmale_body_mass_g\r\n```\r\n\r\nand where the \"95CI\" is the 95% confidence interval of the parameter.  Use `argparse` to (1) get the input file name (the amniote natural history database), (2) to get the list of parameters to summarize, and (3) to get the output file name.  Be sure that your program is formatted correctly (PEP8).\r\n\r\n- [ ] Program is correctly formatted [PEP8] (3.0 pt)\r\n- [ ] Program functions as requested (12.0 pt)"}}