How can I convert this expression from pandas to Pyspark Dataframe ?
df.loc[str(date_stamp),Device] = Sold