Fix data formatting in notebooks