Get na values from a Pandas Dataframe column

    0

    0

    Javier Pacheco

    This code returns a list of columns in the dataframe that do not have a numeric index.

    import pandas as pd
    
    df[df['column'].isna()]
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.