A hands-on set of python notebooks intended for students that have little or no programming experience and are interested in acquiring basic programming skills. The Python notes focus on understanding programming logic by developing codes for automating and increasing the reproducibility of common tasks in plant and soil sciences.
Interactive notebooks (It make take few seconds to few minutes to load the interactive notebooks. For a quick reference consider exploring the Github repository or the PyNotes documentation.)
The datasets used along these notebooks can be found in the /datasets
directory of the Github repository. Throughout the examples it is assumed that the Python interpreter of the Jupyter notebook is in the pynotes/notebooks
directory, reason why the directories are relative to this path in the exercises, for example: pd.read_csv("../datasets/file.csv")
.
If you want to follow along an exercise without downloading the entire material, you can always read the data directly from the Github repository, just make sure you get the URL link for the "Raw" data. For example, to read the Anscombe's dataset:
pd.read_csv('https://raw.githubusercontent.com/andres-patrignani/pynotes/master/datasets/anscombe_quartet.csv')
Follow this video to learn how to obtain the link for the raw data.
-
For bug reports, code suggestions, and topic requests please open an issue in the Github repository.
-
For other related issues feel free to contact me at [email protected]
The content of this website is used as a foundation for a gradaute level course in Scientific Programming and Reproducible Research offered every Spring semester within the Department of Agronomy at Kansas State University.
This initiative is partially supported by the Kansas State University Open/Alternative Textbook Initiative
All the code in these Jupyter notebooks has been written entirely by the author unless noted otherwise. The entire material is available for free under the Creative Commons Attribution-NonCommercial-ShareAlike (CC BY-NC-SA) license