-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: Fix Dataframe constructor missing sql column names (#40682) #41005
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you would always need to start with a test
@@ -669,6 +669,16 @@ def __init__( | |||
# For data is list-like, or Iterable (will consume into list) | |||
elif is_list_like(data): | |||
if not isinstance(data, (abc.Sequence, ExtensionArray)): | |||
# For data is a sqlalchemy query, extract column names |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
umm what exactly are you trying to do here?
This pull request is stale because it has been open for thirty days with no activity. Please update or respond to this comment if you're still interested in working on this. |
Thanks for contributing @jnchngc, closing as stale for now, but please ping to reopen if you'd like to continue and address comments (would also be good to avoid the added dependency here as well). |
…ames
Query
missing column headers #40682