Код: Выделить всё
[col(c).isNull().count() for c in df.columns]
Код: Выделить всё
----> 2 [col(c).isNull().count() for c in df.columns]
TypeError: 'Column' object is not callable
Код: Выделить всё
[df.filter(col(c).isNull()).count() for c in df.columns]
Код: Выделить всё
[0, 0, 0, 0, 0, 0, 109, 109, 0, 0, 0, 0, 0]
Подробнее здесь: https://stackoverflow.com/questions/790 ... sing-count