[Python] Filtering null values [closed]

Discussão em 'Python' iniciado por Stack, Junho 13, 2025.

  1. Stack

    Stack Membro Participativo

    python null value is not filtering


    query_filters.append(AmazonProductDetailsRDS.price.isnot(None)) if filters.price_min is not None: query_filters.append(AmazonProductDetailsRDS.price >= filters.price_min) if filters.price_max is not None: query_filters.append(AmazonProductDetailsRDS.price <= filters.price_max)
    ​

    I tried the above line, the values are not filtering. when i give min value null values are still showing.

    Continue reading...

Compartilhe esta Página