application_vnd.jupyter.stderr_output_1.png
import pandas as pd

import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
from sklearn.cluster import KMeans
from sklearn.decomposition import PCA
from sklearn.preprocessing import StandardScaler
dir = '/kaggle/input/the-movies-dataset/'
ratings = pd.read_csv(dir + 'ratings_small.csv')
metadata = pd.read_csv(dir + 'movies_metadata.csv', low_memory=False)