Which IDEs do you know for python?
PyCharm
Visual Studio Code
Spyder
we are using jupyter notebook during the lecture tutorials
What does venv mean / stand for?
it means virtual environment
it keeps all your projects seperates
this way it avoids the overlapping of different project versions
Exampel: a older project version requires an older version of an library (Project V1 in venv1 with Lib 1 and Project V2 in venv2 with Lib2)
What is jupyter notebooks and and what are the advantages of it?
= it is a web-based interactive computing platform
it can generate full reports
its supports multiple languages
you can run cells independently (run second cell before first)
Which libraries for python do you know and what are they mainly used for?
numpy for scientific computing
scipy also for scientific computing (statistical, optimization etc.)
matplotlib and seaborn for data plotting
pandas for exploration and manipulation of data
sklearn for machine learning
What data types do you know?
integer
float
string
boolean
characters
What is a list?
a datastructure that can contain a mix of variable types
you can create a list within a list
important functions for lists are: append, extend, subsetting, slicing, removing
lists are created with square brackets
What is a tuple?
immutable (can’t add, change or delete items after tuple creation) collection of items
seperated by a comma
access of item over index
zip() function returns an iterator of tuples
tuples are created with round brackets
What is a module, a package and what is aliasing?
a module is a file containing python definitions and statements
a package is a way of structuring pythons namespace
aliasing: when you use a short alisas for you modue or package, in the beginning of you code when you import
What is a NumPy
Library
most important element from it is a ndarray
Last changed8 days ago