Posts by Luiz1992 • 1 point
2 posts
-
0
votes2
answers80
viewsA: How do I check which items in List2 are in List1, then their count and order
I believe the solution below meets your need: Input: lista1 = ['a', 'k', 'j', 'd', 'p', 'u', 'j', 'h', 'k', 'k', 'c', 'p', 'e', 'u', 'z', 'z', 'f', 's', 'u', 'k', 'p', 'u', 'j', 'h', 'b', 'k', 'j',…
-
-1
votes2
answers1618
viewsA: Date conversion problem (DD/MM/YYYY to YYYY-MM-DD) with 'pd.to_datetime()' - Python
I had this same problem today and the solution was similar to yours. However, in my case I was using format = '%d/%m/%y'. By changing to format = '%d/%m/%Y', the code worked correctly.…