NEW
Font size
Worksheetspython
Total questions: 10
Worksheet time: 5mins
which library we import if we want to draw chart
numpy
matplotlib
pandas
if we want to create data frame we import
numpy
matplotlib
pandas
to join 2 arrays under each other we use the function
vstack()
hstack()
append()
to add a title in the chart we use the function
title("title of the chart")
plt.title("title of the chart")
plt.title(title of the chart)
we can not change the color of the chart
false
true
we use the function to change rows to columns and columns to rows
reshape()
array()
transpose()
we use this function to get the average of array
avg()
average()
mean()
to create an array with only 5 zeroes
x=np.zeroes(5)
np.zeroes()
np.zeroes(5)
to change the header in data frame we use
headers and columns
index and columns
rows and columns
to get an element in data frame we use the function
get()
find()
loc()
