We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

find CSV # of rows before making it's Verge list of list of rows?

Home Forums Puzzles find CSV # of rows before making it's Verge list of list of rows?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #20873
    GLiFTeK
    Customer

    hi
    I have a CSV that has 3 columns of info, and about ~30 rows of those columns.
    …but it will be ever growing, constantly updated into the thousands, of unique items.
    Is there a dynamic way to have the list of lists of rows that will contain it’s info be DYNAMIC?

    Is there a way to dynamically create those variables at the time the CSV data loads by somehow retrieving the current amount of rows of columns that the CSV has? (maybe a JS call?)

    ..OR do I need to create hundreds of individual variables when i initialize the list like i have for the ~30 ones i have now?
    ie: row_0001, row_0002, etc?

    thanks!

    #20904

    you can store all the rows in a list and access them via index – no need to create a variable for each row

    Chief 3D Verger | LinkedIn | Twitter

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.