compare

How to compare and lookup one list with another list?

How to compare and lookup one list with another list? Question: I have 2 lists – one holds `int values and the other string. I am iterating through the list to find the highest value in it and once I do I want to lookup the corresponding name for that highest value. I am reading …

Total answers: 1

How to compare two python pandas dataframe and find unmatched column name as status

How to compare two python pandas dataframe and find unmatched column name as status Question: I want to compare two pandas dataframe and i have to print row which are not matching along with column anme which is not matching as remark column. my dataframe look like df1 id first_name last_name salary 1 AAA FFF …

Total answers: 1

How to returning a value that is not excluded in python?

How to returning a value that is not excluded in python? Question: I would like to create a function that would check if a given account is not a technical account. If the account is technical, we skip it, if not, we display account details. technical accounts are saved in the addc_accounts_excluded.json file: { "sAMAccountName": …

Total answers: 2

python compare column one with word vs column two with label

python compare column one with word vs column two with label Question: I have two columns from two different csv. A column contains words. The other column contains sentences. I import the columns as a list. Now I want to find all sentences in which one of the imported words occurs. Then I want to …

Total answers: 1

Count of 2 dataframes

Count of 2 dataframes Question: I have 2 dataframes of top songs both on spotify and tiktok. In those dataframes I have colums with the names of the top songs of 2022 and I was wondering how to know the amount of songs that are on both columns of the separate dataframes. I haven’t really …

Total answers: 1