python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How to make new pandas column based on multiple conditionals including 'isnull', 'or' and if colB 'isin' colA -like statements?
First time asking. Is there a way to get a new df column including all three statements (or, isnull-like, isin-like) without iterating over a for loop/ keeping code within the spirit of Pandas? I've t...

BLT
Votes: 0
Answers: 5
How can i detect if a file has already been opened in python
I hope you can help me, I'm new on python.
I am making a program in python with tkinter that requires opening a file and then converting it.
My problem is the conditional, because I need that when pre...
alonsocontree
Votes: 0
Answers: 0
How can I find the average dead-end length and escape length of a self avoiding walk?
I'm building a program that takes command-line arguments n and trials and computes trials self-avoiding walks in an n-by-n lattice. For each walk, it creates a boolean array, starts the walk in the ce...
silicongolem
Votes: 0
Answers: 0
Ant checksum comparison?
I've been pulling my hair out trying to figure out why this code is failing, when the echo debug output clearly shows that the checksums do, in fact, match:
<macrodef name="compare">
&...
Nikolaii99
Votes: 0
Answers: 1