Skip to content

note on diff #41

@keyboardAnt

Description

@keyboardAnt

Thanks for the open source contribution!

One small note is that the diff_spec function differs from common library standards.

  • it returns N elements, while numpy/pytorch return N-1.
  • it seeds out[0] with the first value, while pandas uses NaN.
implementation length first element
diff_spec N a[0]
numpy / pytorch N-1 a[1] - a[0]
pandas N NaN

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions