In my Jupyter Notebook and Google Colab running version 13.2 Latest, I noticed that the countplot is going in a ever ending loop
import pandas as pd
from tensorflow.keras.datasets import mnist
(X_train, y_train), (X_test, y_test) = mnist.load_data()
pd.Series(y_train).value_counts() # Results immediate
sns.countplot(pd.Series(y_train)) # Takes Forever for Series
sns.countplot(pd.Series(y_train, name='no').to_frame(), x='no', hue='no') #Completes fast when in Pandas DataFrame
In my Jupyter Notebook and Google Colab running version 13.2 Latest, I noticed that the countplot is going in a ever ending loop