Join us on August 26th to develop an interactive Credit Scoring web application and deploy it on a Kubernetes cluster Learn more

Use a web app Python backend

Dataiker
Dataiker
Use a web app Python backend

I noticed on https://www.dataiku.com/learn/guide/code/webapps/use-python-backend.html



That code piece is incorrect:




# Agreggate data by directors and sort directors by number of films realised in
# San Francisco
count_Director = San_francisco_film.groupby(['Director']).Title.count()
count_Director.sort_values(ascending=False)


it should be: 

 




# Agreggate data by directors and sort directors by number of films realised in
# San Francisco
count_Director = San_francisco_film.groupby(['Director']).Title.count().sort_values(ascending=False)


 

0 Kudos
1 Reply
Dataiker
Dataiker
Hi, thanks for your input! You are right, and the correction has been made in source and will show up when the website is next refreshed.
0 Kudos