Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- qna_source =[]
- # for row in df.head().itertuples():
- for row in yoga_pose_df.itertuples():
- description = create_description(row)
- qna_source.append([row.pose_name, description])
- qna_df = pd.DataFrame(qna_source)
- 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