how to add file name as an attribute in your dataset?
I am using loop files and append superset operators to stitch time series historical stock data from thousands of csv files together, each stock has a different csv file, and I am able to successfully do that but I also need to add stock name or file name as an attribute to every row which will act as an ID for every stock. I have been stuck at it for days. Any help would be greatful.
Find more posts tagged with
Sort by:
1 - 4 of
41

MartinLiebig

Hi,
the loop files operator has an option 'enable macros'. Once checked you can use the file_name macro in generate attributes to do this.
Best,
Martin