File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
articles/synapse-analytics Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -164,13 +164,14 @@ code shows a simple example using the popular libraries matplotlib and seaborn.
164
164
import matplotlib.pyplot
165
165
import seaborn
166
166
167
- sns .set(style = "whitegrid")
167
+ seaborn .set(style = "whitegrid")
168
168
df = spark.sql("SELECT * FROM nyctaxi.passengercountstats")
169
169
df = df.toPandas()
170
170
seaborn.lineplot(x="PassengerCount", y="SumTripDistance" , data = df)
171
171
seaborn.lineplot(x="PassengerCount", y="AvgTripDistance" , data = df)
172
172
matplotlib.pyplot.show()
173
173
```
174
+
174
175
## Load data from a Spark table into a SQL Pool table
175
176
176
177
```
@@ -179,7 +180,7 @@ code shows a simple example using the popular libraries matplotlib and seaborn.
179
180
df.write.sqlanalytics("SQLDB1.dbo.PassengerCountStats", Constants.INTERNAL )
180
181
```
181
182
182
- ## Analytze NYC taxi data in Spark databases using SQL-on demand
183
+ ## Analyze NYC taxi data in Spark databases using SQL-on demand
183
184
184
185
* Tables in Spark databases are automatically visible and queryable by SQL on-demand
185
186
* In Synapse Studio navigate to the Develop hub and create a new SQL script
You can’t perform that action at this time.
0 commit comments