Sign in
apache
/
spark-website
/
bf09c083b54ac9a00c74c79b8b38346b2fdd0a59
/
.
/
site
/
docs
/
3.3.3
/
api
/
python
/
reference
/
pyspark.pandas
/
api
/
pyspark-pandas-DataFrame-plot-barh-1.py
blob: 925635091befd076a7804337e4261b9be1d6475e [
file
] [
log
] [
blame
]
df
=
ps
.
DataFrame
({
'lab'
:
[
'A'
,
'B'
,
'C'
],
'val'
:
[
10
,
30
,
20
]})
df
.
val
.
plot
.
barh
()
# doctest: +SKIP