WorksheetsData Visualization and Exploration Quiz
Total questions: 10
Worksheet time: 5mins
What is the main reason NumPy is faster than traditional Python lists?
NumPy arrays are more complex
NumPy arrays are stored in a continuous block of memory
NumPy arrays are larger in size
NumPy arrays require more processing power
What is the function used to sort a specified array in NumPy?
arrange()
order()
sort()
sequence()
Which of the following is NOT a type of splitting in NumPy?
Vertical splitting
Horizontal splitting
Both horizontal and vertical splitting
Diagonal splitting
What is the primary data structure used in Pandas?
Array
DataFrame
List
Matrix
Which method is used to access the last row of a DataFrame in Pandas?
dataset.last()
dataset.iloc[-1]
dataset.loc.last()
dataset.get_last()
What is the purpose of filtering in NumPy?
To sort elements
To combine arrays
To reshape an array
To create a new array from existing elements
Which of the following is an advantage of using Pandas over NumPy?
Higher level of abstraction
More applicable
Faster processing
Less disk space
What does the term 'slicing' refer to in NumPy?
Combining multiple arrays
Filtering elements based on conditions
Taking elements from one index to another
Accessing a single element
Which function is used to iterate over rows in a Pandas DataFrame?
iteritems()
iterrows()
itertools()
itercolumns()
What is the purpose of reshaping an array in NumPy?
To change the data type
To filter the elements
To sort the elements
To change the shape or dimensions of the array
