Conditional average in Pandas

I have the following pandas dataframe, before doing a daily resampling and taking the mean, before eventually taking the rolling mean of 30 days: import pandas as pd df = pd.DataFrame() df.index = [‘2009-01-04’, ‘2009-01-05’, ‘2009-01-05’, ‘2009-01-06’, ‘2009-01-06’, ‘2009-01-07’, ‘2009-01-07’, ‘2009-01-07’] df[‘score1’] = [84, 28, 38, 48, 23, 38, 22, 37] df[‘score2’] = [83, 43,…

Details

SpringDoc openAPI tool not scanning for APIs in Spring Boot Project

I’m having trouble getting this to work. I’ve started with a working SpringBoot (v2.2.2) app with a working @RestController. To get springdoc to work I’ve included the following dependency in my pom: <dependency> <groupId>org.springdoc</groupId> <artifactId>springdoc-openapi-ui</artifactId> <version>1.2.28</version> </dependency> I then built and started my service. I’ve then browsed to the api-docs endpoint and I get: {“openapi”:”3.0.1″,”info”:{“title”:”OpenAPI…

Details