Skip to content

Instantly share code, notes, and snippets.

@mutaku
Created November 8, 2016 17:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mutaku/5db72b901a7a6dd67f1ccccb59ca755b to your computer and use it in GitHub Desktop.
Save mutaku/5db72b901a7a6dd67f1ccccb59ca755b to your computer and use it in GitHub Desktop.
from ast import literal_eval
df = pd.read_csv('algorithms/parameterclustering/data/Parameters/M23_analyzed.csv',
index_col=0,
# Pandas writes the vector list as a str of a list, so we have to convert back
converters={'vector': literal_eval})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment