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

Python #723

Merged
merged 4 commits into from
Sep 16, 2019
Merged

Python #723

merged 4 commits into from
Sep 16, 2019

Conversation

timkpaine
Copy link
Member

No description provided.

can construct ctx0, ctx1, ctx2

add better test, move low level tests down

fix test

clean up build/test/lint scripts

WIP: make python API more symmetric to JS API

process table data, working view constructors

edit python dockerfile

update style

more types supported

don't purge docker assets until end of test stage

don't allow table to fail, try to install packages locally

update build scripts to install deps

assert in table tests

Fixed Dockerfile

don't use target=/Volumes/files/jpmc/perspective locally

forward API to latest master

add autopep8 fix script

no -r

avoid global, remove dependency install

don't install in local folder

merge master changes

style fixes

refactoring python code to be modular, add docstring examples, fix some style issues, add support for format=1 and format=2 tables, add initial support for numpy and pandas types

seperate script for building/linting/testing all in one

install optionals

remove individual license, remap badges in readme, remove perspective-python travis, remove bettercodehub

fix test, use warning instead of warn

add codecov upload

bugfix for segfault

lint in precommit

WIP: to_dict(), add scalar_to_py

split apart pythons C++ code, don't make vectors and maps opaque

readd comented stuff, remove some more todos

support some numpy types

merge from pyapi

merge from pyapi

add scalar_to_py for outputting data

fix bug with boolean columns

working to_dict, to_columns for 0, 1, 2 sided views

refactor to_dict, to_column, add limit and index tests

update working

refactor data formatter, start on numpy export

support python-only numpy

add numpy tests

remove working

fix performance issue, make aggregates a dict

parse strings with datetime, accept string schemas, add more tests

to_records() and to_dict() replace to_dict() and to_columns()

read and write date(), datetime() objects, parse date/datetime strings

don't install before build

revamp docs

add docs framework for all packages, generate markdown for outputs including autodocs

update readmes to remove gitter, extract pandas flattening, change type mapping

convert to UTC in tests

travis is in UTC

adding pandas export

add simple to_df tests
@codecov-io
Copy link

codecov-io commented Sep 13, 2019

Codecov Report

Merging #723 into master will increase coverage by 1.8%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #723     +/-   ##
=========================================
+ Coverage   90.57%   92.38%   +1.8%     
=========================================
  Files          58       59      +1     
  Lines        1645     2088    +443     
=========================================
+ Hits         1490     1929    +439     
- Misses        155      159      +4
Impacted Files Coverage Δ
perspective/table/_date_validator.py 87.5% <0%> (-12.5%) ⬇️
perspective/table/_utils.py 93.75% <0%> (-6.25%) ⬇️
perspective/tests/table/test_table_pandas.py 96.96% <0%> (-3.04%) ⬇️
perspective/table/_accessor.py 90% <0%> (-1.12%) ⬇️
perspective/tests/table/test_to_format.py 100% <0%> (ø) ⬆️
perspective/table/_data_formatter.py 95.23% <0%> (ø) ⬆️
perspective/table/_constants.py 100% <0%> (ø) ⬆️
perspective/tests/table/test_table.py 100% <0%> (ø) ⬆️
perspective/table/view_config.py 100% <0%> (ø) ⬆️
perspective/tests/table/test_view.py 100% <0%> (ø) ⬆️
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b69fd96...5cdf192. Read the comment docs.

@texodus
Copy link
Member

texodus commented Sep 14, 2019

Tasks transferred from issues

  • Pull python docs from python folders into docusaurus
  • Make sure datetime localization is consistent between psp internals and python to/from string
  • Implement column extraction as numpy array or arrow column
  • Make sure cpp folder ends up in perspective-python.table's manifest so that build happen.
  • Implement to/from numpy code in C++

Also here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants