Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pandas datetime and numpy numeric array fixes #1163

Merged
merged 3 commits into from
Sep 8, 2018
Merged

Pandas datetime and numpy numeric array fixes #1163

merged 3 commits into from
Sep 8, 2018

Commits on Sep 7, 2018

  1. Configuration menu
    Copy the full SHA
    717b191 View commit details
    Browse the repository at this point in the history
  2. Pandas datetime and numpy numeric array fixes

     1) Preserve numeric numpy types as is in validator out, even if that
        numeric type is not supported as JavaScript TypedArray
     2) Update widget serializer to check numeric numpy arrays for whether
        they are compatible with TypedArrays. If not, serialize as list.
     3) Call to_pydatetime() on pandas datetime series/index values
        when passed to copy_to_readonly_numpy_array. This returns numpy
        array of datetimes (which we already know how to serialize)
    
    Fixes datetime issue in #1160
    Fixes FigureWidget issue in #1155
    jonmmease committed Sep 7, 2018
    Configuration menu
    Copy the full SHA
    ea0043d View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2018

  1. Review comments

    [skip ci]
    jonmmease committed Sep 8, 2018
    Configuration menu
    Copy the full SHA
    c0076dc View commit details
    Browse the repository at this point in the history