课程: Hands-On Data Science using SQL, Tableau, Python, and Spark

免费学习该课程!

今天就开通帐号,24,700 门业界名师课程任您挑!

Working with data in Spark

Working with data in Spark

- Now let's dive into Databricks and actually work with some data. So back in Databricks, I'm going to say create in new table. From here, I need to bring in an actual file. So I'm going to drag that on, and this is available at the exercise files below or at ftdacademy.com/resources. Drag that guy on. It's going to upload the file. I'm going to create it in a notebook. That way I can see the code that it actually would run to create this table for us. Now on top, we have our markdown. Again, if you're familiar with Jupyter Notebooks, you can see how it actually processes this really nice way to format stuff. I'm going to go ahead and just close this guy and delete that here. I don't really care about that one. And here's where we're going to actually create our table in Spark using Python. Let me zoom in a little bit for you so you can see it better. And on top of the first step here is just to give it the file location. It's now uploaded into our Spark cluster under the file store…

内容