snowflakedb / snowflakedb/snowflake-connector-python

SNOW-2171192: Add `lowercase_columns = True` to `to_pandas()`

Open
#2,369 2 comments 4 reactions 1 assignee View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.