Pandas percentage change matrix
Pandas percentage change matrix Question: I have a data frame: product cost 0 product a 56 1 product b 59 2 product c 104 I’d like to make a percentage change matrix like: product a product b product c product a -5.08% -46.15% product b 5.36% -43.30% product c 85.71% 76.27% There could be n …