This works:
df[df['A'].apply(lambda x: isinstance(x, str))]
More Related Contents:
- Pandas percentage of total with groupby
- Using Pandas to pd.read_excel() for multiple worksheets of the same workbook
- How to add pandas data to an existing csv file?
- How to explode a list inside a Dataframe cell into separate rows
- How to print pandas DataFrame without index
- Repeat rows in a pandas DataFrame based on column value
- Accessing every 1st element of Pandas DataFrame column containing lists
- Dropping infinite values from dataframes in pandas?
- How to flatten a nested JSON recursively, with flatten_json
- How to invoke pandas.rolling.apply with parameters from multiple column?
- Convert commas decimal separators to dots within a Dataframe
- How to remove timezone from a Timestamp column in a pandas dataframe
- dropping rows from dataframe based on a “not in” condition [duplicate]
- How to delete multiple pandas (python) dataframes from memory to save RAM?
- Create column of value_counts in Pandas dataframe
- Adding two Series with NaNs
- Extract string from a dataframe comparing to a list
- Importing Pandas gives error AttributeError: module ‘pandas’ has no attribute ‘core’ in iPython Notebook
- Absolute value for column in Python
- Can Pandas plot a histogram of dates?
- In Pandas how do I convert a string of date strings to datetime objects and put them in a DataFrame?
- Unpivot Pandas Data
- Pandas join issue: columns overlap but no suffix specified
- What is as_index in groupby in pandas?
- Find index of all rows with null values in a particular column in pandas dataframe
- Stratified Sampling in Pandas
- Is .ix() always better than .loc() and .iloc() since it is faster and supports integer and label access?
- How to update values in a specific row in a Python Pandas DataFrame?
- Pandas: Modify a particular level of Multiindex
- Get column by number in Pandas