Import .Dataset import .Row // A text dataset is pointed to by path. text ( "output" ) // You can specify the compression format using the 'compression' option. show () // - // | value| // - // |Michael, 29\nAndy.| // - // "output" is a folder which contains multiple text files and a _SUCCESS file. show () // - // | value| // - // | Michael| // | 29\nAndy| // | 30\nJustin| // | 19\n| // - // You can also use 'wholetext' option to read each input file as a single row. The line separator handles all `\r`, `\r\n` and `\n` by default. The path can be either a single text file or a directory of text files val path = "examples/src/main/resources/people.txt" val df1 = spark. Deep Learning with R by François Chollet
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |