KwickClips Python
Python: 204 short revision clips (page 4)
One idea per clip, with the answer written out underneath. Each clip links back to the full Python lesson it came from.
What is the difference between loc and iloc?42 sec
How do you loop over DataFrame rows?38 sec
What does read_csv return?44 sec
Where does the Unnamed: 0 column come from?43 sec
What happens without header=None on a headerless file?43 sec
How do you add a Total column?43 sec
Why use a chart instead of a table?40 sec
Is a bar chart the same as a histogram?41 sec
How do you show which line is whose?42 sec
Why is my saved Matplotlib image blank?40 sec
Which chart suits monthly rainfall?41 sec
What is a class?41 sec
What is self?40 sec
Why does aman.marks have no brackets?37 sec
What is __str__ used for?39 sec
How does withdraw stop overdrawing?37 sec
What is pip?40 sec
What does json.loads() do?39 sec
How do you pick a good library?41 sec
How do you add 5 to every mark without a loop?39 sec
Do a loop and a comprehension give the same list?43 sec
What are the parts of a list comprehension?40 sec
In which order are the for parts written?44 sec
When should you use a loop instead?41 sec
What does anonymous mean?42 sec
Why does return inside a lambda give a syntax error?41 sec
What does the lambda do in filter()?39 sec
When should you use def instead of lambda?41 sec
How does Python track a function calling itself?39 sec
Why did my recursion never stop?38 sec
What is the base case for sum of digits?40 sec
What is Python's typical recursion limit?41 sec
How does a child class inherit?38 sec
Why is the name missing in my child class?42 sec
What is overriding?39 sec
What is multilevel inheritance?39 sec
What does one underscore mean?39 sec
What does @property do?40 sec
What is polymorphism?40 sec
What does Python check in duck typing?40 sec
What does NaN stand for?41 sec
Why can't you use == to find NaN?45 sec
What does dropna() remove?43 sec
When should you drop a whole column?43 sec
What do you install and what do you import?44 sec
Why keep a test set hidden?41 sec
Which method makes the model learn?42 sec
What does random guessing give with three species?40 sec
