Font size
Worksheetspandas, matplotlib, validation
Total questions: 10
Worksheet time: 5mins
The most popular data visualization library in python is _______.
pip
matinfolib
matplotlib
matpiplib
Which of the following methods should be employed in the code to display a plot?
Display()
Show()
Execute()
Plot()
Which Python Package is used for 2D graphics?
matplotlib.pyplot
matplotlib.pip
matplotlib.numpy
matplotlib.plt
Pandas deals with following data structures
Series
Series and Data Frames
Series, DataFrames and Panel
None of Above
DataFrame in pandas is
1. dimensional array
2. dimensional array
3.dimensional array
4.None of the above
Which is the correct Pandas syntax to read in a csv file and assign it to a DataFrame df?
df = read_csv('file.csv')
df = read('file.csv', type = 'csv')
df = pd.read_csv('file.csv')
df = with open('file.csv') as pd.DataFrame
Type the syntax that returns the top 5 rows in DataFrame df with the native Pandas function (not slicing):
(a)
Which type of data validation ensures that a value falls within a specific range?
Input mask
Range check
Limited choice
Presence check
What type of data validation verifies that a required field is not left blank?
Range check
Limited choice
Format check
Presence check
What validation type would ensure that letters have been entered instead of digits on a form?
Length Check
Data Type Check
Presence Check
