python - Applying select_dtypes for selected columns of a ...
stackoverflow.com › questions › 50984032Jun 22, 2018 · Right now when I try to do this I get. AttributeError: 'Series' object has no attribute 'select_dtypes'. To give more details let's say I have such dataframe: df = pd.DataFrame ( [ [-1, 3, 0], [5, 2, 1], [-6, 3, 2], [7, '<blank>', 3 ], ['<blank>', 2, 4], ['<blank>', '<blank>', '<blank>']], columns='A B C'.split ()) When I run.