There is a missing variable declaration in the Colab playground.
y = Expression.var('y')
e = 1/(x*y+1)
e = e.derivative(x)
md(e.to_latex())
I suppose, the first line should be: x, y = Expression.var('x', 'y')