Winterflower
9ab411984a
Adds extra step to Dockerfile build to take advantage of layer caching and avoid repulling dependencies in requirements.txt if they don't change
2019-11-27 21:05:02 +01:00
Winterflower
83d0c3de38
Adds helpful statement to know which ES instance you are connecting to
2019-11-27 21:03:47 +01:00
Winterflower
ce477021c1
Strips hostname from extra http if present in string to prevent failures in low level Python socket module
2019-11-27 21:03:03 +01:00
Michael Hirsch
a3dd86075a
String Arithmetics: __add__ ops ( #68 )
...
* adds support for __add__ ops for string objects and literals
* adds tests for string arithmetic
* updates comment in numeric field resolution
* adds op_type parameter for numeric_ops
2019-11-27 10:44:17 -05:00
Winterflower
ba1c932823
Making run_build script an executable during container build
2019-11-26 16:28:24 +01:00
Winterflower
cc8a27398a
Adding newline to end of file
2019-11-26 13:57:32 +01:00
Winterflower
80aec42d10
Add shebang header to run_tests
2019-11-26 13:56:41 +01:00
stevedodson
33f5495352
Merge pull request #67 from stevedodson/feature/user_guide
...
Reformat and cleanup based on PyCharm inspect and reformat
2019-11-26 12:17:00 +00:00
Stephen Dodson
93dadc054c
Fixing docstring format
2019-11-26 11:10:18 +00:00
Stephen Dodson
86686ebb18
Reformat and cleanup based on PyCharm
2019-11-26 11:02:46 +00:00
Winterflower
1c9b8f1298
Adding run_build script
2019-11-25 21:07:37 +01:00
Winterflower
c5b479b4f9
Adding line to read ES hostname from docker env var
2019-11-25 20:41:58 +01:00
Winterflower
12236078a8
Adding -r flag to pip install command and fixing name of Dockerfile in run-tests
2019-11-25 19:50:19 +01:00
Winterflower
d0aa84a894
First attempt at suitable Dockerfile and config for building Docker image for eland
2019-11-25 19:15:37 +01:00
Winterflower
ad118fcbad
Adding 7.5 snapshot in test matrix
2019-11-25 18:14:20 +01:00
stevedodson
5ce315f55c
Merge pull request #64 from stevedodson/feature/arithmetics
...
Series arithmetics, series metric aggs, series docs
2019-11-25 16:17:12 +00:00
Stephen Dodson
9bbe9bbb1c
Fixing issue with addition for strings
...
e.g. df['currency']+1
2019-11-25 16:15:50 +00:00
Stephen Dodson
85422e2023
Adding series __r* docs
2019-11-25 15:49:27 +00:00
Stephen Dodson
b99f25e4ee
Adding __r* operations and resolving issues with df.info()
2019-11-25 15:00:02 +00:00
Stephen Dodson
ac8cb302de
Updates based on PR review.
2019-11-25 12:43:37 +00:00
Michael Hirsch
59021db2b2
indicates support for value_counts ( #63 )
2019-11-22 12:07:37 -05:00
Stephen Dodson
e755a2e160
Minor doc fix for Series.to_string
2019-11-22 16:29:51 +00:00
Stephen Dodson
91c811345c
Minor updates to docs and doctests
2019-11-22 16:22:16 +00:00
Stephen Dodson
84e23ab5d1
Added Series metric aggs + Series docs
...
Also, improved Series.to_string()
2019-11-22 15:44:55 +00:00
Winterflower
c4d269ccdb
Customising CI setup for eland
2019-11-22 14:42:58 +01:00
Stephen Dodson
5d119215f8
Fixing rename and truediv issues
...
tests pass
TODO - implement additional orithmetic ops
2019-11-21 20:37:54 +00:00
Winterflower
031e914dbe
Renaming configuration items to be eland specific
2019-11-21 17:12:45 +01:00
Stephen Dodson
c12bf9357b
Series rename and arithmetic initial implementation
...
Partially implemented, tests fail with this commit.
2019-11-21 15:39:13 +00:00
Winterflower
fc7c214ae6
Initial skeleton for .ci folder
2019-11-21 13:53:27 +01:00
stevedodson
4935a7b4ee
Merge pull request #58 from stevedodson/feature/user_guide
...
Adding 'development' section to docs
2019-11-20 13:58:25 +00:00
Stephen Dodson
530f2f7661
Resolving comments in contributing.rst + adding CONTRIBUTING.md
2019-11-20 13:56:44 +00:00
Stephen Dodson
6564f26245
Adding 'development' section to docs
...
Adding contributing section based on Elasticsearch/CONTRIBUTING.md
TODO - add testing docs (based on CI)1
2019-11-20 10:32:35 +00:00
stevedodson
2a409962ea
Merge pull request #55 from blaklaybul/fix-boolean-index
...
Instantiates Column as Series with Specified dtype
2019-11-20 08:14:59 +00:00
stevedodson
29b6a70995
Merge pull request #57 from blaklaybul/fix-no-results
...
Adds Proper DataFrame Formatting when max_rows = 0
2019-11-20 08:14:02 +00:00
Michael Hirsch
f1ec6c0d8b
fixes UnboundLocalError when displaying empty dataframes
2019-11-19 15:52:03 -05:00
Michael Hirsch
c90602dd65
sets max_rows=1 in case of empty dataframe
2019-11-19 15:13:18 -05:00
Michael Hirsch
9c03d5a0d4
instantiates column as series with specified dtype
2019-11-19 13:13:08 -05:00
Michael Hirsch
9c9ca90c0d
Adds Support for Series.value_counts() ( #49 )
...
* adds support for series.value_counts
* adds docs for series.value_counts
* adds tests for series.value_counts
* updates keyerror language
* adds es docs as an external source
* adds parameters for metrics and terms aggs
* adds 2 tests to check for exceptions
* explains the size parameter
* removes print statements from tests
* checks that es_size is a positive integer
* implements assert_series_equal
2019-11-19 11:27:15 -05:00
stevedodson
885a0a4aba
Merge pull request #51 from stevedodson/master
...
Updating docs + added supported methods doc
2019-11-19 14:09:13 +00:00
Stephen Dodson
8f31c04c07
Extending metrics tests based on comments on https://github.com/elastic/eland/pull/51
2019-11-19 13:49:34 +00:00
Josh Devins
24f008af4e
Merge pull request #53 from joshdevins/fix-field-caps-too-long
...
Fixes field caps query params exceeding HTTP limit
2019-11-19 14:20:43 +01:00
Josh Devins
463edf9f90
Fixes field caps query params exceeding HTTP limit
...
We want all fields from _field_caps so we just use the wildcard expression here.
It's not clear why it didn't work before but it does now. This alleviates the
need to pass all fields to _field_caps.
See: https://github.com/elastic/eland/issues/52
2019-11-19 14:08:57 +01:00
Stephen Dodson
2854eecbf4
https://github.com/elastic/eland/issues/50 fix.
...
Root cause was incorrect filtering of numeric values by columns.
Added more tests + fixed a doctest.
2019-11-19 12:01:53 +00:00
Stephen Dodson
9b4fe40305
Updating docs + added supported methods doc
2019-11-19 10:42:23 +00:00
stevedodson
be4055093b
Merge pull request #48 from stevedodson/master
...
Improve to_string/to_html/__repr__/_repr_html_ tests
2019-11-19 08:22:36 +00:00
Stephen Dodson
fb2a1fae7b
Updated to_string/to_html docs
2019-11-18 15:27:43 +00:00
Stephen Dodson
327f43d912
Fixing issue in to_html/to_string if max_rows is set
2019-11-18 14:47:35 +00:00
Stephen Dodson
d92ed94ef0
Improve to_string/to_html/__repr__/_repr_html_ tests
...
Added more rigorious tests for string representation
and fixing issue with to_html.
2019-11-18 12:55:23 +00:00
stevedodson
c93d07981d
Merge pull request #47 from blaklaybul/trim-display
...
Tabular Display: show 10 rows if index is larger than max_rows
2019-11-18 10:35:03 +01:00
Michael Hirsch
4eea073305
includes assertion
2019-11-16 11:57:25 -05:00