10:51

Carpentry lesson( programming with python)

To analyse scientific data, we can use python as we import numpy library. The numpy act as computational calculation for array data. In carpentry lesson, we will learn about how to analyse patient data and make a graph from the data.

First, we need an data example. In carpentry lesson, we can download the example from the setup.



Then we can upload the data into the jupyter notebook by clicking the upload button.



Next we proceed with analyzing the data using the jupyter notebook. In jupyter notebook we need to import the numpy libray by typing import numpy as ny . After that, we can import the data that we upload earlier by typing ny.loadtxt(fname='inflammation-01.csv', delimiter=',')


Then after w already import our data, we can use many operation to find what we want from the data. For example, we can get the mean data by typing print(ny.mean(data, axis=0))


For more on this topic, just head on to the carpentry lesson python. There are many more interesting lesson awaiting you there. Good luck :)

You Might Also Like

0 comments

Contributors