Comments (5)
Hello Migal,
sorry to hear you are experiencing trouble with catch22. What do you mean by "amount of data is equal to 2"? catch22_all is only suited for univariate time series that are stored in a vector. Did you try it without the apply
function of pandas?
Carl
from catch22.
What do you mean by "amount of data is equal to 2"?
I mean case when group_data.shape[0] == 2
Did you try it without the
apply
function of pandas
Sure. This code have the same behavior:
buf = pd.DataFrame(catch22.catch22_all(group_data[column_name]), dtype=np.float64)
from catch22.
Please try it without the direct use of pandas data frames by converting the column to a numpy array. I'll try to make catch22 pandas-ready but I guess for now you'll have to stick with Python lists or numpy arrays.
from catch22.
Please try it without the direct use of pandas data frames by converting the column to a numpy array. I'll try to make catch22 pandas-ready but I guess for now you'll have to stick with Python lists or numpy arrays.
I understand your concerns.
I try to set list as input into the catch22 functions and I have dead kernel as result. Here is the code:
functions = dir(catch22)[:-11] # get all functions from catch22
i=0
func = getattr(catch22, functions[i])
func(list(group_data[column_name]))
from catch22.
Have the same problem, kernel dies if apply function on array with len 1 or 2.
Could be useful to add exception for it.
from catch22.
Related Issues (20)
- Platform dependence HOT 3
- Correction in CO_Histogram_AMI_even_2_5 implementation HOT 3
- Support for GNU Octave HOT 2
- Python 3. Pandas rolling apply
- Failed to install HOT 7
- wrap_Python setup.py should add "extra_compile_args = ['-std=c99']" (GCC 7.5.0)
- Failed to install catch22
- Segmentation Faults on Small Datasets HOT 4
- Installation failure: `forβ loop initial declarations are only allowed in C99 mode`
- CO_f1ecac overestimating by 1
- Python package version mismatch HOT 1
- Why catch22-0.2.0 got deleted from pypi HOT 5
- Generating a shared library for the C implementation (and using that to build pycatch22 etc.) HOT 3
- 14 * possible use of wrong binary operator ? HOT 1
- Please clarify GPL version HOT 6
- What is the shortest time series on which Catch22 could be computed? HOT 1
- Add `catch22` to `conda-forge` HOT 1
- cannot find -lmsvcr140 HOT 1
- Anaconda Python 3 pip install not working HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from catch22.