Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: General linear model with repeated measures
Post: RE: General linear model with repeated measures

Hey! I am not sure that I understand your question completely. Anyway, you might want to look into the Statsmodels package. Maybe a linear mixed-effects model can be used: https://www.statsmodels.org/...
PsyPy Data Science 1 2,578 Dec-20-2020, 11:45 PM
    Thread: Pandas - compute means per category and time
Post: RE: Pandas - compute means per category and time

Alright. I see but you might still want to use groupby() but also with the expanding() method. This seems to work on the example DataFrame: df['mean_per_round'] = df.groupby(['name'])['value'].expand...
PsyPy Data Science 7 3,530 Nov-13-2020, 08:55 AM
    Thread: Pandas - compute means per category and time
Post: RE: Pandas - compute means per category and time

(Nov-11-2020, 06:52 PM)rama27 Wrote: Hi, I have a following problem. I need to compute means per category and time (in my df named as a "round"). My simplified df looks like bellow: df = pd.DataFra...
PsyPy Data Science 7 3,530 Nov-12-2020, 12:17 PM
    Thread: How to form a dataframe reading separate dictionaries from .txt file?
Post: RE: How to form a dataframe reading separate dicti...

Hey there! This is an old thread but when you read the file you get a list of strings. That is, you don't get a list of dictionaries. Therefore, Pandas will not work as you need. If you use literal_ev...
PsyPy Data Science 1 4,263 Nov-09-2020, 09:24 AM
    Thread: How to search for specific string in Pandas dataframe
Post: RE: How to search for specific string in Pandas da...

(Oct-22-2020, 07:19 PM)Coding_Jam Wrote: Hi, **smile** I'm trying to extract lines from my dataframe using Pandas in a specific column named Equipe_Junior. For now I have ben able to extract my dat...
PsyPy Data Science 1 2,446 Nov-02-2020, 09:35 AM
    Thread: change numerical values to categorical names
Post: RE: change numerical values to categorical names

(Oct-24-2020, 07:41 PM)JoeOpdenaker Wrote: 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 ...
PsyPy General Coding Help 3 2,951 Nov-02-2020, 09:14 AM

User Panel Messages

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