Sep-23-2021, 01:59 PM
I'm trying to code a time-series project where I have inventory that I need to update every day based on the latest conditions.
I'm a newbie so it seems like it would be easier to keep the inventory in a dataframe with named columns and rows (I'm very familiar with Excel).
Would it be faster to maintain this as an array, though? In doing so, I don't think I can use labels like I could with the df but I can draw the structure of the array out on a sheet to remind myself what goes in which rows/columns and try to work with it as array functions rather than pandas dataframe operations.
Any thoughts would be appreciated!
Mark
I'm a newbie so it seems like it would be easier to keep the inventory in a dataframe with named columns and rows (I'm very familiar with Excel).
Would it be faster to maintain this as an array, though? In doing so, I don't think I can use labels like I could with the df but I can draw the structure of the array out on a sheet to remind myself what goes in which rows/columns and try to work with it as array functions rather than pandas dataframe operations.
Any thoughts would be appreciated!
Mark