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

[BUG]import janitor causing TypeError #1201

Closed
xujiboy opened this issue Nov 19, 2022 · 1 comment
Closed

[BUG]import janitor causing TypeError #1201

xujiboy opened this issue Nov 19, 2022 · 1 comment

Comments

@xujiboy
Copy link
Contributor

xujiboy commented Nov 19, 2022

Brief Description

Can not import janitor with version 0.24.0

System Information

  • Operating system: Linux
  • OS details (optional):
  • Python version (required): 3.8.13

Minimally Reproducible Code

import janitor

Error Messages

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/jixux/miniconda3/envs/test/lib/python3.8/site-packages/janitor/__init__.py", line 9, in <module>
    from .functions import *  # noqa: F403, F401
  File "/home/jixux/miniconda3/envs/test/lib/python3.8/site-packages/janitor/functions/__init__.py", line 19, in <module>
    from .add_columns import add_columns
  File "/home/jixux/miniconda3/envs/test/lib/python3.8/site-packages/janitor/functions/add_columns.py", line 3, in <module>
    from janitor.utils import check, deprecated_alias
  File "/home/jixux/miniconda3/envs/test/lib/python3.8/site-packages/janitor/utils.py", line 216, in <module>
    *arguments: list[str],
TypeError: 'type' object is not subscriptable
@xujiboy xujiboy changed the title import janitor causing TypeError [BUG]import janitor causing TypeError Nov 19, 2022
joranbeasley added a commit to joranbeasley/pyjanitor that referenced this issue Nov 19, 2022
@joranbeasley joranbeasley mentioned this issue Nov 19, 2022
3 tasks
@Zeroto521
Copy link
Member

duplicate to #1200

xujiboy added a commit to xujiboy/pyjanitor that referenced this issue Nov 19, 2022
This should address the issue pyjanitor-devs#1201
xujiboy added a commit to xujiboy/pyjanitor that referenced this issue Nov 19, 2022
@xujiboy xujiboy mentioned this issue Nov 19, 2022
3 tasks
Zeroto521 pushed a commit that referenced this issue Nov 27, 2022
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 a pull request may close this issue.

2 participants