Open tanthiamhuat opened 2 years ago
Actually, it works. The path in your code is misspelled. Correct lines are: (taken from the book) ` import pandas as pd white_wine = pd.read_csv("/dbfs/databricks-datasets/wine-quality/winequality-white.csv", sep=";") red_wine = pd.read_csv("/dbfs/databricks-datasets/wine-quality/winequality-red.csv", sep=";")
`
I can just said this book is simply a great disappointment. From a look at the code below, it just shows how sloppy the whole book is:
import pandas as pd
white_wine = pd.read_csv("/dbfs/databricks-datasets/winequality/winequality-white.csv", sep=";")
red_wine = pd.read_csv("/dbfs/databricks-datasets/winequality/winequality-red.csv", sep=";")
Any novice Spark user will know the above code would run with errors.