I'm having some problems with unique function after updating astropy
code:
from astropy.table import Table
import numpy as np
table = Table(data=[[1,2,3,2,3,3],[2,3,4,5,4,6],[3,4,5,6,7,8]],
names=['col1', 'col2', 'col3'],
dtype=[np.int32, np.int32, np.int32])
unique(table, keys='col1')
error in jupyter notebook
NameError: name 'unique' is not defined
error in terminal:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'unique' is not defined
What can i do?