File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 10
10
11
11
from PIL import Image
12
12
13
- df = (spark .read .json ('/home/ubuntu/image_data/listings/metadata' ))
13
+ df = (getSparkSession () .read .json ('/home/ubuntu/image_data/listings/metadata' ))
14
14
15
15
df = (
16
16
df
31
31
)
32
32
33
33
image_metadata = (
34
- spark
34
+ getSparkSession ()
35
35
.read
36
36
.csv (
37
37
path = '/home/ubuntu/image_data/images/metadata' ,
Original file line number Diff line number Diff line change 10
10
11
11
from PIL import Image
12
12
13
- df = (spark .read .json ('/home/ubuntu/image_data/listings/metadata' ))
13
+ df = (getSparkSession () .read .json ('/home/ubuntu/image_data/listings/metadata' ))
14
14
15
15
df = (
16
16
df
31
31
)
32
32
33
33
image_metadata = (
34
- spark
34
+ getSparkSession ()
35
35
.read
36
36
.csv (
37
37
path = '/home/ubuntu/image_data/images/metadata' ,
You can’t perform that action at this time.
0 commit comments