From the course: Data Science for Java Developers
Unlock this course with a free trial
Join today to access over 22,400 courses taught by industry experts.
Reducing file size - Java Tutorial
From the course: Data Science for Java Developers
Reducing file size
- [Instructor] Okay, so we've talked about representing data in Java and we've also talked about some of the different methods that we can use for transforming data. So the next thing we're going to learn about is how to actually start loading data into our programs. Now, I think I mentioned previously that the main source of our data, especially in the training phase when we're just kind of getting our hands dirty with data science for the first time is going to be files that we download from the internet. Now there's obviously a lot of different formats for these files, they can be in a text file format. It can be CSV. Sometimes you'll find Excel or JSON files as well. So when we locate a file, it's very important that we're comfortable enough loading that data into our Java programs so that we can actually get to the good part which is building models and performing actual data science on that data that we load.…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
Reducing file size5m 20s
-
Loading data from text files3m 29s
-
Creating a person data class3m 56s
-
Converting strings to data objects5m 39s
-
Loading tab-separated files9m 20s
-
Loading CSVs5m 21s
-
Converting CSVs to data objects7m 4s
-
Challenge: Manipulating data2m 1s
-
Solution: Manipulating data3m 37s
-
-
-
-
-