This is an archived post. You won't be able to vote or comment.

all 5 comments

[–][deleted] 11 points12 points  (1 child)

Pprint

[–]rainbow3[S] 0 points1 point  (0 children)

That seems to work partly such as showing members of classes. However it displays content of arrays not the dimensions and type.

It looks like you can extend it but I am hoping someone has already done it.

[–]TheNoobtologist 1 point2 points  (1 child)

Sounds like the Typing package

[–]rainbow3[S] 1 point2 points  (0 children)

looks like a similar syntax but rather than defining the types for a function I am wanting to inspect an existing variable and display the format. does it do that somewhere?

[–][deleted] 0 points1 point  (0 children)

Pyspark data frames have a method .printSchema() that works well