Skip to content
Discussion options

You must be logged in to vote

mungkin dari conditional tersebut memang tidak ada baris yang memenuhi kriteria tersebut. 🤔

update:

  • oh, cond2 itu nilainya numerical (hasil dari .max()), jadi bukan dalam bentuk pd.Series dengan dtype boolean. Sehingga, cond2 bisa dikoreksi menjadi cond2 = clients['Total Sales'] == clients['Total Sales'].max()

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Talioll
Comment options

Answer selected by hwulanayu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
P4DA Python for Data Analysts
3 participants