Given a pandas series, series_data, which of the following will create a histogram of series_data and align the bin edges with the horizontal tick marks?
A) count, bin_edges = np.histogram(series_data)
series_data.plot(kind='hist', xticks = count, bin_edges)
B) count, bin_edges = np.histogram(series_data)
series_data.plot(kind='hist', xticks = count)
C) count, bin_edges = np.histogram(series_data)
series_data.plot(kind='hist', xticks = bin_edges)
D) series_data.plot(kind='hist') count, bin_edges = np.histogram(series_data)
series_data.plot(type='hist', xticks = bin_edges)
Answers
Answered by
63
Tex
data
tab
count, bin_edges = np.histogram(series_data)
series_data.plot(kind='hist', xticks = count, bin_edges)
B) count, bin_edges = np.histogram(series_data)
series_data.plot(kind='hist', xticks = count)
C) count, bin_edges = np.histogram(series_data)
series_data.plot(kind='hist', xticks = bin_edges)
D) series_data.plot(kind='hist') count, bin_edges = np.histogram(series_data)
Answered by
9
Answer:A) count, bin_edges = np.histogram(series_data)
series_data.plot(kind='hist', xticks = count, bin_edges)
Explanation:
Similar questions