why not use df.head().to_string() when you Generate Python Code Prompt #194
stormrageHF
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
in the source code,
df_head = data_frame.head(rows_to_display)
, the first 5 lines of data generated by the code are passed to openai,but sometimes the middle part of the result generated by thishead()
is full of elipseswhy not use
to_string()
to process it again, which can help openai improve the accuracy of the replyBeta Was this translation helpful? Give feedback.
All reactions