p
y
c
h
a
l
l
e
n
g
e
r
Home
Basic Data Analysis
pandas II
Sort by Industry then Revenue
Sort by Industry then Revenue
Sort the DataFrame first by
Industry
alphabetically, then by
Revenue (USD)
descending within each industry.
Premium
reset
def greet(name): return f"Hello, {name}!" print(greet("Erik"))
Python
Setting up Python environment...
Output