I have a dataframe with 3 features: id, name and point. I need to select rows that type of 'point' value is string.
| id | name | point |
|---|---|---|
| 0 | x | 5 |
| 1 | y | 6 |
| 2 | z | ten |
| 3 | t | nine |
| 4 | q | two |
How can I split the dataframe just looking by type of one feature' value?
I tried to modify select_dtypes method but I lost. Also I tried to divide dataset with using
df[df[point].dtype == str] or df[df[point].dtype is str]
but didn't work.