How to filter not null data from list of dictionary ?

Hi Team,

I need help.

I have a list of  dictionary like


{name: "Aish", category: "A"}

{name: "Jenny", category: "A"}

{name: "", category: "C"}

{name: "", category: "E"}

{name: "", category: "E"}


Now I want to filter out only that/those dictionary which has name value not null. 

Like I want values to return only with name filled, empty rows I don't want.

In the example above it should return only first 2 rows as the name is filled there.

can you suggest anything?

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data