Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Python 2.7 support #51

@simra

Description

@simra

Hi, a small suggestion to add a line to the DPSU spark implementation, to support down-level python:
from __future__ import division

https://github.com/opendifferentialprivacy/whitenoise-samples/blob/332d7ef7c4fcf811995f9e6a3aab8d8f4c298a88/data/policy_laplace.py#L1

Without the change, initializing PolicyLaplace incorrectly applies integer division in a few spots.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentationonboarding

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions