##straight copy of the columns seg_sales = txns1[['seg_met','ADV']].copy() ##copy of only unique values in the column seg_sales1 = txns1[['seg_met','segment', 'distributionMethodSubType', 'ADV']].drop_duplicates()
##straight copy of the columns seg_sales = txns1[['seg_met','ADV']].copy() ##copy of only unique values in the column seg_sales1 = txns1[['seg_met','segment', 'distributionMethodSubType', 'ADV']].drop_duplicates()