Skip to content

Commit

Permalink
Fixed bad example in CS110x lab 2
Browse files Browse the repository at this point in the history
  • Loading branch information
bmc committed Aug 31, 2016
1 parent 688104e commit d70369c
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 3 deletions.
Binary file modified cs110_autograder.dbc
Binary file not shown.
Binary file modified cs110_autograder_complete.dbc
Binary file not shown.
Binary file modified cs110_autograder_register.dbc
Binary file not shown.
Binary file modified cs110_lab1_power_plant_ml_pipeline.dbc
Binary file not shown.
Binary file modified cs110_lab2_als_prediction.dbc
Binary file not shown.
6 changes: 3 additions & 3 deletions cs110_lab2_als_prediction.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Databricks notebook source exported at Sun, 21 Aug 2016 19:51:38 UTC
# Databricks notebook source exported at Wed, 31 Aug 2016 17:43:08 UTC

# MAGIC %md
# MAGIC <a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/4.0/"> <img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-nd/4.0/88x31.png"/> </a> <br/> This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/4.0/"> Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. </a>
Expand Down Expand Up @@ -733,14 +733,14 @@
# MAGIC |Mireille| 19|
# MAGIC +--------+---+
# MAGIC
# MAGIC > names_to_delete = ("Julie", "Abdul") # this is just a Python tuple
# MAGIC > names_to_delete = ["Julie", "Abdul"] # this is just a Python list
# MAGIC > df2 = df1.filter(~ df1["name"].isin(names_to_delete)) # "NOT IN"
# MAGIC > df2.show()
# MAGIC +--------+---+
# MAGIC | name|age|
# MAGIC +--------+---+
# MAGIC | Jim| 10|
# MAGIC | Julie| 9|
# MAGIC |Mireille| 19|
# MAGIC +--------+---+
# MAGIC ```
# MAGIC
Expand Down
Binary file modified cs110_lab3a_word_count_rdd.dbc
Binary file not shown.
Binary file modified cs110_lab3b_text_analysis_and_entity_resolution.dbc
Binary file not shown.

0 comments on commit d70369c

Please sign in to comment.