Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Adding Columns to CSV using iterator
Post: RE: Adding Columns to CSV using iterator

Try df[ 'product item number']=lambda x:x for x in range(start,end)Replace start by the number you want to start with, and end by start+number of rows in your data set. Should work for the other co...
hegdep Data Science 10 27,631 Jan-09-2018, 11:05 AM
    Thread: Indirect Bilinear Interpolation
Post: Indirect Bilinear Interpolation

[Image: http://picpaste.com/Ref_table-ICIlb6Dy.PNG] I want to interpolate values two voltage signals using this table and convert them into corresponding temperature values. It isn't a direct biline...
hegdep General Coding Help 0 2,226 Jan-09-2018, 10:51 AM
    Thread: Defining an fsolve function to call later
Post: RE: Defining an fsolve function to call later

I figured out my mistake, I am supposed to call skewness and kurtosis in a tuple. In effect, the program must be programed as follows: def myFunction_2(p,args=(skewness,kurtosis)): x=p[0] ...
hegdep General Coding Help 1 3,080 Oct-25-2017, 07:38 AM
    Thread: Defining an fsolve function to call later
Post: Defining an fsolve function to call later

def myFunction_2(p,skewness,kurtosis): x=p[0] y=p[1] z=p[2] f=empty((3)) f[0]=pow(x,2)+pow(y,2)+6*x*y+15*pow(z,2)-1 f[1]=8*pow(y,3)+ 6 * pow(x,2) * y + 72 * x * y *...
hegdep General Coding Help 1 3,080 Oct-24-2017, 12:09 PM
    Thread: Solving nth degree simultaneous equations
Post: RE: Solving nth degree simultaneous equations

(Sep-28-2017, 01:17 PM)sparkz_alot Wrote: Simply convert to a Python formula? For example  1=B²+2C²+6BD+15D² becomes I = B**2 + 2 * C**2 + 6 * B * D +15 * D**2 . Keeping in mind Pythons Operator P...
hegdep Data Science 3 3,692 Sep-28-2017, 02:39 PM
    Thread: Solving nth degree simultaneous equations
Post: Solving nth degree simultaneous equations

I am completely new to Python and just figuring my way around the language. However, I was wondering if there was a way of solving 'n'th degree simultaneous equation using Python. For example: If S=...
hegdep Data Science 3 3,692 Sep-28-2017, 06:41 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020