I tried to apply it through os.environ like so:
import os
import pandas as pd
os.environ["FILE"] = "File001"
df = pd.read_csv('/path/$FILErawdata.csv/')
But pandas doesn't recognize $FILE
and instead gives me $FILErawdata.csv not found
Is there an alternative way to do this?
I suspect you need to remove the trailing '/'.