Section 5 - Data Analysis and visualization with Python Flashcards
(5 cards)
1
Q
What is Kaggle?
A
Website with many datasets. Regularly used by Data Scientists and Students.
2
Q
What is the full form of CSV?
A
Comma Separated Value
3
Q
What is loc method in pandas?
A
Loc method is used to retrieve rows from a dataframe that match a certain condition.
eg :- us_babies.loc[use_babies[‘Year’] ==2014, :]
4
Q
Write a sort_values statement.
A
us_babies_2014.sort_values(‘Count’,ascending = False)
5
Q
What is iloc statment?
A
An iloc statement is used to retrieve rows which fall under a range. For example the first 5 rows.
eg- dataframe.iloc[0:5]