snowflakedb / snowflakedb/snowflake-connector-python
SNOW-2171192: Add `lowercase_columns = True` to `to_pandas()`
Open
Nobody has claimed this yet.
feature
status-triage_done
- Dominant language
- Python
- Stars
- 730
- Forks
- 574
- Avg merge
- 5h 45m
- Merged PRs (30d)
- 16
Description
What is the current behavior?
my_df.to_pandas()
Output is a dataframe with columns all uppercases
What is the desired behavior?
Add a new lowercase_columns kwarg:
my_df.to_pandas(lowercase_columns=True)
Output is a dataframe with columns all lowercase!
This should of course be False by default to avoid any breaking change.
How would this improve snowflake-connector-python?
Just quality of life for Python users where upper case is not very common for Pandas columns.
We offer this argument in one of our internal teams project, and it has massive adoption. Probably a signal it'd be useful!
References and other background
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.