Trying to create Script Report using Pandas

I tried looking into this, but no hope.