I have an insert statement where I only need to fill 15 columns out of 70 - and all the other columns can remain NULL. I would like to find a way to w ...
I have an insert statement where I only need to fill 15 columns out of 70 - and all the other columns can remain NULL. I would like to find a way to w ...
These 3 functions I have written are all very similar, they all do the scatterplot of 2 variables. Is it possible to create a single function with par ...
I would like to know how I can simplify the following code? I have tried to apply this suggestion but I am not able to make it work. ...
I must create a function that checks if in a string there's a space or a number, and if in this case return false. I created this code but I feel tha ...
I'm generally new to this style of coding (mostly working in VBA before) and I could use some suggestions. I have my code typed out and it works exact ...
I'd like to know how I could make the code shorter by not repeating everything basically 4 times (each for every individual .section1-item). I'd like ...
How to combine the following functions into one using a "type" variable? As you can see the functions below are very similar. I would like to pass an ...
In the code below you see multiple functions doing almost the same thing yet for another attribute of this class This looks very messy to me. It ma ...
I have recently taken it upon my self to create a program that plays DJ Wild the poker game. I haven't ran into many bumps but I am not very familiar ...
To avoid duplication in the code, is there a way to extract to a separate method of the selected code? class Builder { private final List< Uni ...
I keep getting expressions like this image, despite declaring these symbols as reals. The code to reproduce is: I expected to get 1/delta Also tr ...
In sympy, I want to simplify a long expression, like: to: I tried using nsimplify, but dont get the desired result. In detail: nsimplify((70/3 ...
I am taking a string and checking for multiple problems (exporting to csv, I need to remove things like HTML elements and excessive spaces, etc here ...
I have a 3x3 matrix that I want to populate (may grow to 3x4 or 3x5 but not larger). Very simple with a dual for loop except that each row has a uniqu ...
after specifying: Sympy solves for H2O, CO, CO2, H2, CH4 properly and leaves them in terms of H2O and the KEQs, which is expected since two of the ...
I have the following code which works to input a new item into my dictionary into my list of dictionaries, as well as write it to the csv file. Here ...
Is there a method to rearrange symbolic expression l*sin(B) + d*sin(B) into (l+d)*sin(B) in MATLAB symbolic expression? I tried to use combine and co ...
I'd like to simplify this expression, especially "isDigit" and "isLetter" case. How to do it? I think, that it isn't important, but it's much bette ...
I am looking for ways to shorten and simplify my python code. Here is one example of one small rock/paper/scissors game I wrote earlier. The code kind ...
I'm analyzing data from a vacation home and I have this very long piece of code when I was trying to calculate prices for each apartment for each year ...