View graphframe.py
edges.registerTempTable("edge_list")
vertice_df = spark.sql("SELECT distinct src as id from edge_list UNION SELECT distinct dst as id from edge_list")
View missOrNull.py
df.select([count(when(isnan(c) | col(c).isNull(), c)).alias(c) for c in df.columns]).show()