Code Monkey home page Code Monkey logo

Comments (16)

ericmjl avatar ericmjl commented on May 27, 2024 1

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.

jppyykm avatar jppyykm commented on May 27, 2024 1

@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.

samukweku avatar samukweku commented on May 27, 2024 1

#1278 fixes this. @jppyykm kindly reinstall the Dev version.

from pyjanitor.

ericmjl avatar ericmjl commented on May 27, 2024 1

@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.

ericmjl avatar ericmjl commented on May 27, 2024 1

@samukweku I agree with you. That said, we are pre-1.0, so minor == major for us, and patch == minor.

from pyjanitor.

jppyykm avatar jppyykm commented on May 27, 2024

How can I ignore this warning?

from pyjanitor.

samukweku avatar samukweku commented on May 27, 2024

@ericmjl @thatlittleboy any ideas?

from pyjanitor.

samukweku avatar samukweku commented on May 27, 2024

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.

jppyykm avatar jppyykm commented on May 27, 2024

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.

samukweku avatar samukweku commented on May 27, 2024

@jppyykm there is a pending PR that should fix this. in the mean time, you can use import warnings to silence it

from pyjanitor.

jppyykm avatar jppyykm commented on May 27, 2024

@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.

samukweku avatar samukweku commented on May 27, 2024

@jppyykm So the code below doesn't work?

import warnings
warnings.simplefilter("ignore", RuntimeWarning)

from pyjanitor.

samukweku avatar samukweku commented on May 27, 2024

@ericmjl it seems the release failed? https://github.com/pyjanitor-devs/pyjanitor/actions/runs/5649973510/job/15305429936#step:13:72

from pyjanitor.

ericmjl avatar ericmjl commented on May 27, 2024

Yeah it did. Iā€™m gonna look at it after hours, doing kids stuff right now. Thanks for the heads up though.

from pyjanitor.

samukweku avatar samukweku commented on May 27, 2024

@ericmjl I feel it should be a major release cos of some possibly breaking changes

from pyjanitor.

samukweku avatar samukweku commented on May 27, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.