stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Data Manipulation with NumPy and Pandas Flashcards | StudBud
Explore
/
Data Manipulation with NumPy and Pandas
Data Manipulation with NumPy and Pandas
18 terms
·
StudBud Administration
·
1 play
Test your knowledge on NumPy and Pandas, two powerful libraries for data manipulation and analysis
Flashcards
18 cards
F
Practice quiz
P
Host live
L
Questions
18
Answers
1
Which function is used to concatenate arrays?
append()
np.concatenate()
hstack()
concat()
2
What does ravel() return?
Series
1D array
2D array
DataFrame
3
Which function flattens an array?
expand_dims()
reshape()
ravel()
flatten()
4
What does the shape attribute return?
Data in array
Dimensions of array
Type of array
Size of array
5
What is the main purpose of NumPy?
Machine learning
Web development
Data visualization
Numerical computing
6
True or false: Series can be indexed by position.
True
False
7
Which method converts DataFrame to array?
to_numpy()
convert()
as_array()
to_array()
8
True or false: You can index a DataFrame with labels.
True
False
9
True or false: DataFrames can only hold numeric data.
False
True
10
Which method is used to get unique values?
get_unique()
distinct()
set()
unique()
11
What does flatten() do?
Returns a view
Changes shape only
Flattens the array
Creates a copy
12
Which library is used for data manipulation?
Matplotlib
Pandas
SciPy
NumPy
13
True or false: Pandas can handle missing data.
True
False
14
True or false: NumPy is only for arrays.
False
True
15
True or false: Series is a one-dimensional array.
False
True
16
True or false: DataFrames can have different data types.
False
True
17
True or false: You can use NumPy with lists.
False
True
18
True or false: Ravel() always returns a copy.
True
False