Answer the question
In order to leave comments, you need to log in
How to display API data correctly?
Hello, the task is: Display the reader's list of lending from the OPAC system.
There is a program that displays a list with book names and authors https://github.com/spb201/opac-api. It is working, but you need to display a list of the reader's lending.
API documentation: https://opac-global.ru/public/swagger/opac-global-... Required
identifier:
readerId
Answer the question
In order to leave comments, you need to log in
Let's go in order:
1. Add color to identify clusters:
clusters = KMeans(n_clusters=6).fit_predict(X)
plt.scatter(X[:, 0], X[:, 1], c=[matplotlib.cm.spectral(float(i) /10) for i in cluster.labels_])
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question