Python Kaggle Flashcards
1
Q
Find out data type
A
Type()
2
Q
Modulus
A
A % b
Integer remainder after division of a by b
3
Q
Exponential
A
A ** b
4
Q
Display function details
A
Help(function)
5
Q
What is method?
A
Function defined in the class Example: df.head()
6
Q
What is attribute?
A
Variable connected to a class Example: df.columns