You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently (20 Nov 2022), I attempted to import pyjanitor in Google Colab but I was unsuccessful due to a TypeError. I checked a previous version of pyjanitor (0.21.2) and it worked perfectly. So, the problem appears to be with the most recent release.
My minimally working example can be found in this Google Colab notebook.
In case access is an issue, you can find it here as well.
```python
# using the coalb environment, install `pyjanitor` first
# !pip install pyjanitor==0.24.0
from janitor import clean_names, rename_columns
</details>
# Error Messages
<!-- If you get an error message, please paste it between the backticks here. -->
TypeError Traceback (most recent call last) in
----> 1 from janitor import clean_names, rename_columns
hi @907Resident , thanks for the report. let's take the test a bit further - kindly create a new virtual environment and install pyjanitor; let's see if the error persists. I assume it is possible to create a new environment in google colab (not too familiar with it)
Brief Description
Recently (20 Nov 2022), I attempted to import
pyjanitor
in Google Colab but I was unsuccessful due to aTypeError
. I checked a previous version ofpyjanitor
(0.21.2
) and it worked perfectly. So, the problem appears to be with the most recent release.System Information
More info about OS
More info about other packages in environment
Minimally Reproducible Code
My minimally working example can be found in this Google Colab notebook.
In case access is an issue, you can find it here as well.
```python # using the coalb environment, install `pyjanitor` first # !pip install pyjanitor==0.24.0from janitor import clean_names, rename_columns
TypeError Traceback (most recent call last)
in
----> 1 from janitor import clean_names, rename_columns
3 frames
/usr/local/lib/python3.7/dist-packages/janitor/utils.py in
218 "The keyword argument '{argument}' of '{func_name}' is deprecated."
219 ),
--> 220 error: bool = True,
221 ) -> Callable:
222 """
TypeError: 'type' object is not subscriptable
The text was updated successfully, but these errors were encountered: