Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gde-core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Dynamic ExposureDynamic Exposure
  • Global Dynamic ExposureGlobal Dynamic Exposure
  • gde-core
  • Merge requests
  • !28

Fix pandas UserWarning

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Cecilia Nievas requested to merge fix/pandas_userwarning into master Jul 29, 2022
  • Overview 0
  • Commits 1
  • Pipelines 2
  • Changes 3

Attempt to fix this warning:

/home/cnievas/PyVenv38New/lib/python3.8/site-packages/pandas/io/sql.py:761: UserWarning: pandas only support SQLAlchemy connectable(engine/connection) ordatabase string URI or sqlite3 DBAPI2 connectionother DBAPI2 objects are not tested, please consider using SQLAlchemy

Reference on GitHub: https://github.com/pandas-dev/pandas/issues/45660.

At the same time, changed one of the tests for the Configuration, as the CI pipeline was not updating the version of gde-importer and failing in the tests. As the reason for the failure is not related to gde-core, now the test calls a different country that does not present this problem. (Note that the problem is actually fixed in gde-importer and the code runs well, the problem is the CI pipeline keeping an older version of gde-importer).

Edited Jul 29, 2022 by Cecilia Nievas
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix/pandas_userwarning