Python, Machine Learning, Data Science, Big Data, Artificial Intelligence.
same command to calculate the mean of the id column but with compute method, So the output does get displayed but it takes 21 seconds to display it. Now you can understand why compute method is used only when you reach your final calculation, on every calculation, it is not recommended to use it.