Skip to content

Commit fa97455

Browse files
authored
in1d deprecated
1 parent dbb5556 commit fa97455

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

FITS-tables.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@
207207
"metadata": {},
208208
"outputs": [],
209209
"source": [
210-
"ii = np.in1d(evt_data[\"ccd_id\"], [0, 1, 2, 3])\n",
210+
"ii = np.isin(evt_data[\"ccd_id\"], [0, 1, 2, 3])\n",
211211
"np.sum(ii)"
212212
]
213213
},

0 commit comments

Comments
 (0)