You can try with ast
import ast
df['the_column']=df['the_column'].apply(ast.literal_eval)
More Related Contents:
- How to change column names from numbers to names [closed]
- How to provide a reproducible copy of your DataFrame with to_clipboard()
- Convert list of dictionaries to a pandas DataFrame
- How to replace NaNs by preceding or next values in pandas DataFrame?
- Convert a Pandas DataFrame to a dictionary
- Replace values in a pandas series via dictionary efficiently
- Find column whose name contains a specific string
- How to convert a dataframe to a dictionary
- Pandas DataFrame to List of Dictionaries
- Calculate average of every x rows in a table and create new table
- Conditionally fill column values based on another columns value in pandas
- How to deal with multi-level column names downloaded with yfinance
- Nested dictionary to multiindex dataframe where dictionary keys are column labels
- Rolling Mean on pandas on a specific column
- Pandas deleting row with df.drop doesn’t work
- Pandas groupby.size vs series.value_counts vs collections.Counter with multiple series
- Count number of words per row
- How to create a dictionary of two pandas DataFrame columns
- Unpack dictionary from Pandas Column
- What is the fastest and most efficient way to append rows to a DataFrame?
- How to convert a dataframe to a dictionary
- Updating a value in a pandas dataframe in an iterrows loop
- append dictionary to data frame
- Python pandas: how to remove nan and -inf values
- Check if rows in one dataframe exist in another dataframe
- dataframe to dict such that one column is the key and the other is the value [duplicate]
- Python Pandas – Lookup a variable column depending on another column’s value
- Confusion about pandas copy of slice of dataframe warning
- Selection with .loc in python
- Add a sequential counter column on groups to a pandas dataframe