I can't how to generate a number of data points from this part of a package

At the top of this discourse category it says

A place to talk about packaging Python software and the tooling to make that possible.
Use this category for discussions relating to anything packaging in Python

So this is not the correct place for this kind of question, unless you are trying to package your code so others can use it. You may have better luck in a forum oriented toward python beginners or coding in general. When you ask there (not here), try to whittle the problem down to the essential question you are asking: I can’t really understand what you have vs. what you want.