我试着按照和往常一样的步骤来推动改变,但是当我运行heroku container:push web -a bluebird-teaching (这个应用被称为蓝鸟教学)时,我得到了一个奇怪的错误。Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
但是我在我的Mac上运行Django 2.0.9,pyodbc 4.0.24,django-pyodbc-azure 2.0.4.1和ODBC 17,与运行在Microsoft SQL Server 2017 Dockermodels.BinaryField(blank=True, null=True) # here is the sticking point
# etc我认为这个错误是个问题,真正的问题
给定时间戳数据,我想计算过去4-6天的某些变量的中位数。过去1-3天的中位数可以由pd.pandas.DataFrame.rolling计算,但我找不到如何使用滚动来计算过去4-6天的中位数。6 days2 2011-014-6 days
6 2011-01-02 12:00:00 1.744812 NaN #