Hi,
I typed this statement into the codex prompt:
#add a entry to the dataframe.
df.iLOC[i] = [‘col-1-value’, ‘col-2-value‘, ‘ col-3-value ‘]
add a row to df, where name is John, age is 2.
However , when I press submit, it turns John’s age to 21 adds a fake address and then outputs the code:
add a row to df, where name is John, age is 21 and address is “New York”
df.loc[i] = [‘John’, ‘New York’, 21]
I don’t want it to autocomplete my prompt for me. I just want the code!
How do I fix it?