List
Which is a Mutable Datatype?
Array
Datatype having same type of elements
def
Name the keyword to define the function
training , test dataset
Dataset is splitted into
Matplotib
Identify the library that is used for graphs
int
What is the data type of print(type(5))
List of tuples
What type of data is: arr = [(1,1),(2,2),(3,3)]?
Method
What is called when a function is defined inside a class?
70 and 30
Ratio of train test split
Boxplot
To get a statistical summary
arr[1]
Suppose a list with name arr, contains 5 elements. You can get the 2nd element from the list using:
[‘h’, ‘e’, ‘l’, ‘l’, ‘o’]
What is the output when we execute list(“hello”)?
None
If return statement is not used inside the function, the function will return:
pandas.DataFrame( data, index, columns, dtype, copy)
What will be syntax for pandas dataframe?
Bar chart
To compare we can use