Created
September 17, 2019 14:05
-
-
Save sllynn/71d4041f3d61cb75f546850111d4de89 to your computer and use it in GitHub Desktop.
equivalent to `display()` for sparklyr dataframes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(dplyr) | |
sdisplay <- function(x) { | |
x %>% sample_n(1000) %>% collect() %>% display | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment