Q:

how to get all elements of column in pandas dataframe

unique_arr = df["cluster"].unique()
0
arr = df["cluster"].to_numpy()
0

New to Communities?

Join the community