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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the full form of CSV?

A

Comma Separated Value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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, :]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Write a sort_values statement.

A

us_babies_2014.sort_values(‘Count’,ascending = False)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly