This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
I'm begining my python adventure but found issue with extracting data back to the workflow from python tool.
Using pandas I want to simply extract values from one column. After assigning variable I get below:
What you are extracting like this is a pandas Series.
If you want to output it you would need a pandas dataframe.
Try to add the following
ct = pd.DataFrame(df['CreationTime'])
Not elegant but works!
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.Regards
df = pd.DataFrame(data['CreationTime'])
Much cleaner you solution for sure!
Just edited the last row.
If you need anything else here we are to help as much as possible!