Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
multiple conditions
#8
Hi metulburr,
Heros is the data frame.
I went through some of the code which was posted in the forum and I replicated that here, will go through some document to understand better.

Hi snippsat,
Yes, I am using Pandas.
I wanted to create a new column by satisfying the above condition.
I tried with the example you have provided and it works, when I used my logic as above to create a new column it fails. Will look through some document to understand better.
Reply


Messages In This Thread
multiple conditions - by Chandan - Jan-30-2020, 12:55 AM
RE: multiple conditions - by metulburr - Jan-30-2020, 03:42 AM
RE: multiple conditions - by Chandan - Jan-30-2020, 10:31 AM
RE: multiple conditions - by metulburr - Jan-30-2020, 12:14 PM
RE: multiple conditions - by Chandan - Jan-30-2020, 12:48 PM
RE: multiple conditions - by metulburr - Jan-30-2020, 01:07 PM
RE: multiple conditions - by snippsat - Jan-30-2020, 01:32 PM
RE: multiple conditions - by Chandan - Jan-31-2020, 12:53 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How do you format Update statement with multiple conditions hammer 4 2,230 Dec-16-2021, 10:49 PM
Last Post: hammer
  Multiple conditions when indexing an array with or without np.where noob2305 1 2,753 Oct-25-2020, 02:06 PM
Last Post: jefsummers
  Multiple conditions, one is null moralear27 1 2,263 Sep-13-2020, 06:11 AM
Last Post: scidam
  Help with multiple conditions on ATM program jakegold98 6 9,333 Dec-06-2017, 05:18 PM
Last Post: jakegold98
  Simplifying multiple "or" conditions in if statement. rhubarbpieguy 8 102,526 Jul-22-2017, 12:19 PM
Last Post: rhubarbpieguy

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020