Published
Edited
Feb 2, 2019
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
df2 = df.replace('-1', '', "Cyl")
Insert cell
Insert cell
Insert cell
df3 = df2.replace('-1', '', "City_MPG")
Insert cell
Insert cell
Insert cell
df4 = df3.replace('-1', '', "Hwy_MPG")
Insert cell
Insert cell
Insert cell
df5 = df4.replace('-1', '', "Weight")
Insert cell
Insert cell
Insert cell
df6 = df5.replace('-1', '', "Wheel_Base")
Insert cell
Insert cell
Insert cell
df7 = df6.replace('-1', '', "Len")
Insert cell
Insert cell
Insert cell
df8 = df7.replace('-1', '', "Width")
Insert cell
Insert cell
Insert cell
Insert cell
cars2 = df8.toCollection()
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
dfjs = require('https://bundle.run/dataframe-js@1.3.2')
Insert cell
VegaLite = require('@observablehq/vega-lite')
Insert cell
d3 = require('d3@5')
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more