Skip to content
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

fix: add missing pandas import #2116

Merged
merged 4 commits into from
Jan 27, 2024

Conversation

Tim-Haarman
Copy link
Contributor

Description

Pandas was only imported for static type checking, but was actually used in the code of the module leading to import errors. Added the import similarly to writer.py, and updated the pandas alias in the type hints from 'pandas' to 'pd'.

Related Issue(s)

Documentation

x

@github-actions github-actions bot added the binding/python Issues for the Python package label Jan 23, 2024
@ion-elgreco
Copy link
Collaborator

@Tim-Haarman Thanks!

@ion-elgreco ion-elgreco enabled auto-merge (squash) January 26, 2024 23:55
@ion-elgreco ion-elgreco merged commit a0fee61 into delta-io:main Jan 27, 2024
23 checks passed
RobinLin666 pushed a commit to RobinLin666/delta-rs that referenced this pull request Feb 2, 2024
# Description
Pandas was only imported for static type checking, but was actually used
in the code of the module leading to import errors. Added the import
similarly to `writer.py`, and updated the pandas alias in the type hints
from 'pandas' to 'pd'.

# Related Issue(s)
- closes delta-io#2112 

# Documentation
x

Co-authored-by: Tim Haarman <t.r.haarman@live.nl>
Co-authored-by: Ion Koutsouris <15728914+ion-elgreco@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
binding/python Issues for the Python package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pandas import error when merging tables
2 participants