Code: Alles auswählen
punkte_anzahl = 322
kurven_anzahl = 260
arr = [np.full(shape=(punkte_anzahl,1), fill_value=i) for i in range(kurven_anzahl)]
arr = np.asarray(arr)
arr = arr.reshape(-1,1)
arr.shape
Mit dem dem oberen Code kriege ich das zwar hin. Ich bin mir aber sicher, dass es ein besseres vorgehen gibt.
Kennt da jemand eine Funktion aus einer Bibliothek?
Vielen Dank im Voraus!