0 votes
I need to write a pandas dataframe to dataiku output, with the index values. However the write_with_schema doesn't write out the index values
by

1 Answer

0 votes
Hi,

Before using the `write_with_schema` method, you can put
df["index_col"] = df.index

Then your pandas data frame will have an actual "index_col" column written.

Cheers,

Alex
by
1,116 questions
1,157 answers
1,303 comments
11,030 users

┬ęDataiku 2012-2018 - Privacy Policy