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

feat: Deprecate load_data_frame #417

Merged
merged 9 commits into from
Dec 23, 2024

Conversation

KowerKoint
Copy link
Contributor

Generic function gokart.task.TaskOnKart.load also supports loading pandas.DataFrame.

Optional arguments required_columns and drop_columns are not necessary because you can verify/extract columns after loading DataFrame.

pyproject.toml Outdated
@@ -30,6 +30,7 @@ APScheduler = "*"
redis = "*"
dill = "*"
backoff = "^2.2.1"
typing-extensions = "^4.11.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please specify typing-extensions with python version

ref:
https://python-poetry.org/docs/dependency-specification/#multiple-constraints-dependencies

Copy link
Contributor Author

@KowerKoint KowerKoint Dec 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you.
Changed to use built-in warnings.deprecated with Python >= 3.13 on 8f9b3cd .

pyproject.toml Outdated
@@ -43,7 +44,6 @@ fakeredis = "*"
mypy = "*"
types-redis = "*"
matplotlib = "*"
typing-extensions = "^4.11.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

keep this line since this package is optional on production group

poetry.lock Outdated
@@ -1,42 +1,41 @@
# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand.
# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you update poetry?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed on ea7525b

gokart/task.py Outdated Show resolved Hide resolved
Co-authored-by: Ryo Kitagawa <kitadrum50@gmail.com>
Copy link
Member

@kitagry kitagry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Contributor

@hiro-o918 hiro-o918 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@hirosassa hirosassa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@KowerKoint
Copy link
Contributor Author

I fixed codes which is failed on CI.
Some ipynb files I've not changed was failed with latest tester packages with updating by poetry lock, so I recreate poetry.lock with adding --no-update.

@kitagry
Copy link
Member

kitagry commented Dec 23, 2024

Thank you for the contribution!!

@kitagry kitagry merged commit ff42bf4 into m3dev:master Dec 23, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants