• pandas_dev Profile Picture

    pandas @pandas_dev

    2 years ago

    Artificial intelligence may not be so intelligent if it uses pandas .apply() when not strictly necessary. Our operations are usually vectorized (very fast), .apply() is usually not, so it may be very slow. Avoid loops and apply if a pandas operation exists for what you need.

    marktenenholtz Profile Picture

    Mark Tenenholtz @marktenenholtz

    2 years ago

    Artificial intelligence may not be so intelligent if it uses pandas .apply() when not strictly necessary. Our operations are usually vectorized (very fast), .apply() is usually not, so it may be very slow. Avoid loops and apply if a pandas operation exists for what you need.

    13 3 83 194K 8

    15 65 896 168K 121
  • doodlestein Profile Picture

    Jeffrey Emanuel @doodlestein

    2 years ago

    @pandas_dev You just have to tell GPT4 to do things in a fully vectorized way and it will do it. And if not on the first try, just regenerate a couple times until it does. It absolutely understands the concept and how to do it.

    0 0 1 533 0
  • benhayesnyc Profile Picture

    Ben Hayes 🎿⛵️ @benhayesnyc

    2 years ago

    @pandas_dev Transform is the way

    0 0 0 2K 0
  • Josh_Ebner Profile Picture

    Joshua Ebner @Josh_Ebner

    2 years ago

    In many cases, there are ways to avoid using .apply() by using a separate block of code or a few extra lines of code. Many of the uses of .apply() that I've seen are a result of a data scientist trying to write ultra concise code, often at the expense of both readability and speed.

    1 0 0 808 0
  • akashkivani Profile Picture

    Akash | आकाश @akashkivani

    2 years ago

    @pandas_dev Damm I use. Apply(). Didn't even knew there is anything else.

    0 0 1 196 0
  • rmarcilhoo Profile Picture

    Russ @rmarcilhoo

    2 years ago

    @pandas_dev when the fine tuning dataset from github has many rookie commits ...

    0 0 1 126 0
  • cli_user Profile Picture

    cli user @cli_user

    2 years ago

    @pandas_dev Stop trying to be cute on twitter. Your library's behavior is wildly inconsistent/unpredictable and has wasted weeks of my life cleaning up after so-called "data scientists"

    0 0 1 130 0
  • david464 Profile Picture

    fghp @david464

    2 years ago

    @pandas_dev Is pandas2.0 compatible with sklearn and pytorch?

    0 0 0 1K 0
  • P_Zawadzki88 Profile Picture

    Przemek Zawadzki🇵🇱🐍 @P_Zawadzki88

    2 years ago

    @pandas_dev Maybe looking for right solution in your doc take more time than executing .apply() ?

    0 0 0 222 0
  • J_Holden_nsnd Profile Picture

    J.holden @J_Holden_nsnd

    2 years ago

    @pandas_dev @lies_and_stats Good info.

    0 0 0 341 0
  • Download Image
    • Privacy
    • Term and Conditions
    • About
    • Contact Us
    • TwStalker is not affiliated with X™. All Rights Reserved. 2024 instalker.org

    twitter web viewer x profile viewer bayigram.com instagram takipçi satın al instagram takipçi hilesi twitter takipçi satın al tiktok takipçi satın al tiktok beğeni satın al tiktok izlenme satın al beğeni satın al instagram beğeni satın al youtube abone satın al youtube izlenme satın al sosyalgram takipçi satın al instagram ücretsiz takipçi twitter takipçi satın al tiktok takipçi satın al tiktok beğeni satın al tiktok izlenme satın al beğeni satın al instagram beğeni satın al youtube abone satın al youtube izlenme satın al metin2 metin2 wiki metin2 ep metin2 dragon coins metin2 forum metin2 board popigram instagram takipçi satın al takipçi hilesi twitter takipçi satın al tiktok takipçi satın al tiktok beğeni satın al tiktok izlenme satın al beğeni satın al instagram beğeni satın al youtube abone satın al youtube izlenme satın al buyfans buy instagram followers buy instagram likes buy instagram views buy tiktok followers buy tiktok likes buy tiktok views buy twitter followers buy telegram members Buy Youtube Subscribers Buy Youtube Views Buy Youtube Likes forstalk postegro web postegro x profile viewer