Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Aug 21st, 2018
81
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
# Get count by status from orders
orders.groupBy('order_status').count().show()
orders.groupBy('order_status'). \
agg(count('order_status').alias('status_count')). \
show()
Add Comment
Please,
Sign In
to add comment
Public Pastes
prosentase
PHP | 3 min ago | 7.57 KB
Scrolling Text rev_02
Arduino | 23 min ago | 2.13 KB
Scrolling Text rev_01
Arduino | 24 min ago | 2.14 KB
C Programming draw Rectangle with mouse coord...
C | 40 min ago | 3.80 KB
Minimal prices
JSON | 48 min ago | 0.07 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 💰
GetText | 49 min ago | 0.38 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 51 min ago | 0.39 KB
Untitled
C# | 1 hour ago | 2.97 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!