Skip to content

Commit

Permalink
Fixed small errors
Browse files Browse the repository at this point in the history
  • Loading branch information
brinnaebent committed Jun 5, 2020
1 parent 837f18a commit 886b475
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

setup(name='wearablevar',
packages = ['wearablevar'],
version='0.2',
version='0.3',
description='Variability Metrics from Longitudinal Wearable Sensors',
url='https://github.com/brinnaebent/wearablevar',
download_url = 'https://github.com/brinnaebent/wearablevar/archive/0.2.tar.gz',
download_url = 'https://github.com/brinnaebent/wearablevar/archive/0.3.tar.gz',
author='Brinnae Bent',
author_email='[email protected]',
keywords = ['wearables', 'features', 'feature engineering'],
Expand Down
6 changes: 3 additions & 3 deletions wearablevar/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
'''


def importe4(filename, f = '%Y-%m-%d %H:%M:%S.%f'):
def importe4(filename, f='%Y-%m-%d %H:%M:%S.%f'):
"""
Function for importing and formatting for use with other functions.
Args:
Expand All @@ -44,7 +44,7 @@ def importe4(filename, f = '%Y-%m-%d %H:%M:%S.%f'):
df = df.reset_index()
return df

def importe4acc(filename, f = '%Y-%m-%d %H:%M:%S.%f'):
def importe4acc(filename, f='%Y-%m-%d %H:%M:%S.%f'):
"""
Function for importing and formatting for use with other functions.
Args:
Expand Down Expand Up @@ -98,7 +98,7 @@ def intradaycv(df):
intradaycv = []

for i in pd.unique(df['Day']):
intradaycv.append(interdaycv_(df[df['Day']==i]))
intradaycv.append(interdaycv(df[df['Day']==i]))

intradaycv_mean = np.mean(intradaycv)
intradaycv_median = np.median(intradaycv)
Expand Down

0 comments on commit 886b475

Please sign in to comment.