Commit 8b43142c authored by Sascha Herzinger's avatar Sascha Herzinger
Browse files

Fixed some dependency issues

parent 7425cce8
Pipeline #2434 failed with stage
in 2 minutes and 40 seconds
......@@ -8,7 +8,7 @@ from typing import List, Tuple
from pandas import read_csv, DataFrame
from celery import Task
from Crypto.Cipher import AES
from Cryptodome.Cipher import AES
from fractalis import redis, app
from fractalis.utils import get_cache_encrypt_key
......
......@@ -5,7 +5,7 @@ import json
import logging
import os
from Crypto.Cipher import AES
from Cryptodome.Cipher import AES
from celery import Task
from pandas import DataFrame
......
......@@ -6,7 +6,6 @@ import requests
from pandas import DataFrame
from fractalis.data.etl import ETL
from fractalis.data.etls.transmart import observations_pb2
logger = logging.getLogger(__name__)
......
This diff is collapsed.
......@@ -39,7 +39,7 @@ class NumericalArrayIntegrityCheck(IntegrityCheck):
error = "'value' column must be of type 'np.int' or 'np.float'."
logger.error(error)
raise ValueError(error)
if len(pd.unique(data[['id', 'feature']].values)) != data.shape[0]:
if data.groupby(['id', 'feature']).count().shape[0] != data.shape[0]:
error = "Every combination of 'id' and 'feature' must be unique."
logger.error(error)
raise ValueError(error)
\ No newline at end of file
......@@ -22,7 +22,6 @@ setup(
'sklearn',
'requests',
'PyYAML',
'pycrypto',
'pycryptodomex',
'rpy2'
],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment