ondrolexa/apsg

Question about poles/planes in a pandas df column

ManuGraiph opened this issue · 5 comments

Hi!
When i add a column of points/planes to a pandas dataframe, they are not shown when printing the dataframe in the "compact" format they usually have when you single print them but rather as an array of points (example in the picture below).

Is there any way to "force" pandas to show the lines/planes in that compact 'dipdir/dip' format in the dataframes?

image

Hi @ManuGraiph, it turns out that pandas do not honor __str__ or __repr__ on iterable objects and vector-like objects are iterable at the moment in apsg. But, in fact, it is not really necessary. I will try to modify it and it should be fixed in the upcoming commit.

Thanks!

Done on master... let me know if it works...

I'll try tomorrow, i'm off for today, but thanks!!!

Worked like a charm, thanks a lot!

image