Convert Node To Array Python Size Of Dataframe In Pandas