Skip to content

Tag: python

How to find specific item/s in list/s in Python

I am new to this and I would to find specifc index of item from lists in list in Python. It only work with multiple lists in one list, and I would to know if you know much simple way to search trought all existing and new added list to find specific index of an item and more than in

how to convert the int Date to datetime

i’ve combined many dateframes but the date is not match as it’s look like (datetime & int) as below , it’s contains float number and datetime date. i’m tried to use the below codes but i found error messages (ValueError: mixed datetimes and integers in passed array) or i found this…

When entering the wrong input, Gives ‘str’ is not callable error

The error occurs in the def ‘newround()’, and the given options are Yes/No, however when entering something like ‘test’ it says the else statement but then gives an error anyways. I looked up some info on the error, and the best thing i could find was if a variable was called ‘st…