I have a dataframe that has one column numbers. The column's data are strings of numbers separated by commas.
numbers
-------
1,3,4,5,17,30
5,6,18,37,41,42
1,2,5,14,19,20
1,5,13,20,29,31
1,9,10,11,14,17
2,9,13,25,30,35
How to get all the strings that contain numbers 1 & 5 only?
The desired output:
numbers
-------
1,3,4,5,17,30
1,2,5,14,19,20
1,5,13,20,29,31