Python Forum

Full Version: Application of dilute matrices
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I want to create 20,000 random value triples (i, j, val),
belonging to a table of 100 lines x 10,000 columns
with values for the val, from 1 to 99.
Initialize the random number generator using
123456 number.

a) Create the dilute matrix structure according to method 1,
ie classification of data and use of iloc table.
b) Create the dilute matrix structure according to method 2,
that is, use of tables iloc, nextj.