Use a web app Python backend

Dataiker, Alpha Tester Posts: 535 Dataiker
edited July 2024 in Using Dataiku

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)

Answers

  • Alpha Tester, Dataiker Alumni, Dataiku DSS Core Designer Posts: 105 ✭✭✭✭✭✭✭
    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.

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.