1. 27 Mar, 2022 2 commits
    • Chris Jewell's avatar
      Merge branch 'fix-summary-index-for-new-pandas-version' into 'master' · f90f30cd
      Chris Jewell authored
      Hotfix for new pandas version
      
      See merge request !10
      f90f30cd
    • Chris Jewell's avatar
      Hotfix for new pandas version · bb04c7e1
      Chris Jewell authored
      In previous pandas versions,
      ```python
      df = read.csv("/path/to/file.csv")
      
      foo = pd.Dataframe(df['bar'], index=df['baz'])
      ```
      would result in `foo`'s index being named `baz`.  In pandas==1.1.3 (on which
      `covid19uk` depends), the column name is *not* used as the index name, resulting
      in an un-named index.  Thus, the index now needs to be explicitly constructed
      ```python
      foo = pd.DataFrame(df['bar'], index=pd.Index(df['baz'], name='baz'))
      ```
      to get a named index.
      
      CHANGES:
      
      1. Explicit index naming in summarize.py, summary_dha.py.
      bb04c7e1
  2. 25 Mar, 2022 3 commits
  3. 07 Feb, 2022 2 commits
  4. 11 Jan, 2022 3 commits
  5. 05 Jan, 2022 1 commit
  6. 27 Oct, 2021 2 commits
  7. 25 Oct, 2021 1 commit
  8. 22 Oct, 2021 1 commit
  9. 23 Aug, 2021 2 commits
  10. 06 Aug, 2021 1 commit
  11. 03 Aug, 2021 1 commit
  12. 28 Jul, 2021 1 commit
  13. 29 Jun, 2021 2 commits
  14. 28 Jun, 2021 3 commits
  15. 25 Jun, 2021 1 commit
  16. 23 Jun, 2021 1 commit
  17. 21 Jun, 2021 5 commits
  18. 16 Jun, 2021 2 commits
  19. 09 Jun, 2021 3 commits
  20. 01 Jun, 2021 2 commits
  21. 25 May, 2021 1 commit