RSE - Plotting and Programming in Python (2 days)
Event box
This course will introduce you to the Python programming language and programming by guiding you through reading data in from a file and plotting it.
This course is split over 2 days (8th June and 22nd of June)
This is a two-part course, the first part will cover:
- Variables and assigning values to them
- Data types
- Functions and built-in help
- How to use libraries/packages
- Reading in data
- DataFrams and manipulating your data
- Plotting
The Second day will cover:
- How to make a program do many things. (for and while loops.
- How do make the code do different things depending upon the data by using conditionals (if statements)
- How to process many data sets with a single command
- Re-using code, how to write functions
- How to make your code more readable.
This course will be closely following the Carpentries lesson: https://swcarpentry.github.io/python-novice-gapminder/ Previous experience has shown that the times listed in this course are not always realistic, so I have split it into 2 full sessions, this part will cover the post-lunch session
The course will be conducted in person and will run from 9:00 until 15:30 with a few breaks throughout the day and 30 minutes for lunch.
For the course, you will need your own computer with Python 3 installed. Instructions for installing Python 3 on your computer can be found here: http://swcarpentry.github.io/python-novice-gapminder/setup.html
if you encounter any problems installing python or have further queries, then please email me.
This will be an in-person course based in the Digital Scholarship Lab / Open Research Lab in the Library.
Non-attendance
Accessibility Statement |
Legal Notice |
Freedom of Information |
Cookies Notice |
Staff & Student Privacy Notice |
External User Privacy Notice |
©
2022 Lancaster University. All rights reserved.
Privacy Statement
To use this platform, the system writes one or more cookies in your browser. These cookies are not shared with any third parties. In addition, your IP address and browser information is stored in server logs and used to generate anonymized usage statistics. Your institution uses these statistics to gauge the use of library content, and the information is not shared with any third parties.