Skip to content

Commit 9ed05fd

Browse files
committed
Fix column selection
Signed-off-by: Jason T. Brown <[email protected]>
1 parent 8b948fc commit 9ed05fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyrasterframes/src/main/python/docs/unsupervised-learning.pymd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ catalog_df = pd.DataFrame([
4040

4141
df = spark.read.raster(catalog_df, catalog_col_names=catalog_df.columns)
4242
df = df.withColumn('crs', rf_crs(df.b1)) \
43-
.withColumn('extent', rf_crs(df.b1))
43+
.withColumn('extent', rf_extent(df.b1))
4444
df.printSchema()
4545
```
4646

0 commit comments

Comments
 (0)