Sign in
apache
/
spark-website
/
28656f2c00baf1bc2d26570a16b4f96f9a890723
/
.
/
site
/
docs
/
3.2.2
/
api
/
python
/
reference
/
pyspark.pandas
/
api
/
pyspark-pandas-DataFrame-kde-5.py
blob: ff9f210ce483bb7566c36dde838b67d554da1f25 [
file
] [
log
] [
blame
]
df
=
ps
.
DataFrame
({
'x'
:
[
1
,
2
,
2.5
,
3
,
3.5
,
4
,
5
],
'y'
:
[
4
,
4
,
4.5
,
5
,
5.5
,
6
,
6
],
})
df
.
plot
.
kde
(
bw_method
=
3
)
# doctest: +SKIP