Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: change numerical values to categorical names
Post: change numerical values to categorical names

I am trying to convert numerical data points to categorical names in output. I want it to be labelled as categorical name but I need the raw data to stay numeric for functions elsewhere in the code. ...
JoeOpdenaker General Coding Help 3 2,896 Oct-24-2020, 07:41 PM
    Thread: Create new variable dependent on two existing variables
Post: RE: Create new variable dependent on two existing ...

#create trial type to determine stimulus switching vs recurrent def TrialType(Congruency): if 'Congruency' = 'pCongruency' return 'True' elif 'Congruency' != 'pCongruency' return 'False' ...
JoeOpdenaker General Coding Help 6 2,931 Oct-24-2020, 07:11 PM
    Thread: Create new variable dependent on two existing variables
Post: Create new variable dependent on two existing vari...

#create trial type to determine stimulus switching vs recurrent def TrialType(Congruency): if 'Congruency' = 'pCongruency' return 'True' elif 'Congruency' != 'pCongruency' return 'False' ... else: re...
JoeOpdenaker General Coding Help 6 2,931 Oct-24-2020, 04:52 AM

User Panel Messages

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