Advertisement
Guest User

Untitled

a guest
Aug 21st, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. qna_source =[]
  2.  
  3. # for row in df.head().itertuples():
  4. for row in yoga_pose_df.itertuples():
  5. description = create_description(row)
  6. qna_source.append([row.pose_name, description])
  7.  
  8. qna_df = pd.DataFrame(qna_source)
  9.  
  10. qna_df.to_csv(QNA_DATA_SOURCE_LOCATION, encoding="UTF-8", sep='\t', index=False)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement