Comments (16)
Hmmm, I think we should just get rid of lazy loading. It was originally implemented out of a desire for speed, but I'm seeing a tradeoff.
I will work on this matter over the coming few days.
from pyjanitor.
@samukweku It does not. It has no effect.
I found a way to do so:
with warnings.catch_warnings():
warnings.simplefilter("ignore")
import janitor
from pyjanitor.
#1278 fixes this. @jppyykm kindly reinstall the Dev version.
from pyjanitor.
@jppyykm I have cut a new minor release. Give the bots a few minutes and we should be able to see the releases out in the wild.
from pyjanitor.
@samukweku I agree with you. That said, we are pre-1.0, so minor == major for us, and patch == minor.
from pyjanitor.
How can I ignore this warning?
from pyjanitor.
@ericmjl @thatlittleboy any ideas?
from pyjanitor.
thanks @jppyykm for the feedback. If you use a lower python version (3.8/3.9) do you get an error message? if you can, kindly create a new environment with a lower python version, and see if the error pops up again
from pyjanitor.
Of course. I ran it in Python 3.9 and got the same warning. I tried silencing it but couldn't, does anyone know how to do so?
from pyjanitor.
@jppyykm there is a pending PR that should fix this. in the mean time, you can use import warnings to silence it
from pyjanitor.
@samukweku Yes! Very grateful. I tried that and it doesn't work. Not sure it's relevant but it is perhaps more information to consider. Thanks!
from pyjanitor.
@jppyykm So the code below doesn't work?
import warnings
warnings.simplefilter("ignore", RuntimeWarning)
from pyjanitor.
@ericmjl it seems the release failed? https://github.com/pyjanitor-devs/pyjanitor/actions/runs/5649973510/job/15305429936#step:13:72
from pyjanitor.
Yeah it did. Iām gonna look at it after hours, doing kids stuff right now. Thanks for the heads up though.
from pyjanitor.
@ericmjl I feel it should be a major release cos of some possibly breaking changes
from pyjanitor.
@jppyykm closing this - it has been fixed with #1278; you should not have this issue with pyjanitor version 0.25. feel free to give more feedback if you still have this issue. thanks
from pyjanitor.
Related Issues (20)
- explode_levels
- Not able to import janitor.clean_name function - ImportError: cannot import name 'ABCPandasArray' from 'pandas.core.dtypes.generic' HOT 2
- Typos in repository
- expand function
- [INFRA] Switch over to pyproject.toml
- Support efficient json extraction within a pandas column HOT 1
- [ENH] implement full numba version of a single conditional_join
- deprecation warning for pivot_longer HOT 1
- Return only matching indices for `conditional_join`
- [ENH] cython a subset of _range_join_indices and equi join HOT 4
- extend `col` powers for index selection HOT 1
- dtype conversion on index
- `conditional_join` fails on mac for `equi-join` and numba HOT 1
- Outdated version in conda forge HOT 1
- extend `row_to_names` to support multiindex
- `sheet_name` not required in jn.xlsx_table
- Problems with equalities in contional_join HOT 18
- Make clean_names() compatible with polars and geopandas dataframes HOT 6
- implement similar functions for polars
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyjanitor.