📚 Week 01 Lab - Preparation
2024/25 Winter Term
Before coming to the Week 01 lab, please complete the following preparation tasks:
Follow the instructions on the Getting Ready page to set up your computer.
If you are new to Python, please book a place on the in-person Python workshops offered by the LSE Digital Skills Lab (head to the Training and Development System and select Python Pre-Sessional Workshops).
Create a directory on your computer dedicated to this course (you can name it
DS202W
). Within it, create subfolders: ascripts
subfolder (to put your notebooks into) and adata
subfolder (to put your data into). Put thesetup.ipynb
notebook mentioned in the Getting Ready page in thescripts
subfolder you’ve just created.Using Terminal/Command Line/Powershell commands, change your current directory to the
scripts
directory (cd
command+ relative path)(Optional but highly recommended) Create a new
conda
environment:conda create --name DS202W conda init conda activate DS202W
Run
setup.ipynb
to installnumpy
,pandas
andscikit-learn
in theDS202W
environment (or thebase
environment if you’ve skipped step 5).Install the
lets-plot
library withpip
. On the terminal/Command line/Powershell, type:pip install lets-plot
Check the roadmap of the 📚W01 lab to see what to expect from the upcoming lab.
Got any problems with the above? Post a message on the
#help
channel on Slack (invite coming any moment now!). If instructors are not available, other colleagues may be able to help you.