Skip to content

Conversation

@koperagen
Copy link
Collaborator

With this change it will be possible to format structured data:
image

df.groupBy { receiverType }.toDataFrame("api") .convert { api } .with { it.format { all() }.where { refine || interpretable }.with { background(green) } } 
@koperagen koperagen added the enhancement New feature or request label Nov 7, 2024
@koperagen koperagen added this to the 0.15.0 milestone Nov 7, 2024
@koperagen koperagen requested a review from Jolanrensen November 7, 2024 16:29
@koperagen koperagen self-assigned this Nov 7, 2024
@koperagen koperagen force-pushed the html-rendering-improvements branch from 104ba99 to 44ab2e7 Compare November 7, 2024 17:34
@Jolanrensen
Copy link
Collaborator

Jolanrensen commented Nov 11, 2024

So, now you can have different configurations for each different nested DataFrame? That's cool :)

@ermolenkodev Did you ever get to supporting formatting in Notebook tables? If so, you'd probably also need to take this into account.

@koperagen koperagen force-pushed the html-rendering-improvements branch from 44ab2e7 to 7399276 Compare November 11, 2024 15:19
@Jolanrensen Jolanrensen self-requested a review November 11, 2024 15:26
@koperagen
Copy link
Collaborator Author

koperagen commented Nov 11, 2024

So, now you can have different configurations for each different nested DataFrame? That's cool :)

Yes. For example, i wanted to have green background for all dataframe API that are annotated with refine or interpretable. Later i decided that it will be more convenient (for those looking at the table) to groupBy this dataframe by receiver type and have the same formatting. But i couldn't do it anymore, without this change

Copy link
Collaborator

@Jolanrensen Jolanrensen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks :) looks good!

@koperagen koperagen merged commit 125def0 into master Nov 12, 2024
6 checks passed
@Jolanrensen Jolanrensen deleted the html-rendering-improvements branch November 12, 2024 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

3 participants