Skip to content

added two example output processing notebooks in new folder#1

Open
alibow wants to merge 1 commit intomainfrom
example_processing_code
Open

added two example output processing notebooks in new folder#1
alibow wants to merge 1 commit intomainfrom
example_processing_code

Conversation

@alibow
Copy link
Contributor

@alibow alibow commented Jan 12, 2020

As promised in our last documentation session, I uploaded two jupyter notebooks that contain functions that help process the output.hdf file into a more work-able pandas dataframe format. The file titled "Yongquan_BMI_standardized_output_table_generation.ipynb" is a notebook that Yongquan shared with me a while back. The "BMI_output_processing_adapted_commented.ipynb" notebook is adapted code from Yongquan's notebook that I added some contextualizing comments to; note for that this notebook there are no common random seed/input draws between the baseline and intervention scenario, so the results at the end are not valid! I just wanted it so that people could take a look at the code structure and comments.

I'm not sure how we will want to structure this repo and if we will want any contextualizing text along with the files we upload, so let me know if anyone has any suggestions - just wanted to get these up for now!

@NathanielBlairStahn
Copy link
Collaborator

NathanielBlairStahn commented Jan 13, 2020

Great, thanks @alibow !

I have one request. In the commented notebook, there is a cell that lists all 53,057 column names:

for col in df.columns:
    print(col)

This makes it difficult to scroll through the notebook and see everything. Could you edit this to display some more reasonable number of column names instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments