From 7f6dd16d6feb55eed2f4e909a20c2cfa98348f17 Mon Sep 17 00:00:00 2001 From: Rantaharju Jarno Date: Thu, 30 Nov 2023 13:47:26 +0200 Subject: [PATCH] Remove an extra info print --- niimpy/reading/google_takeout.py | 2 -- tests/reading/test_read_google_takeout.py | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/niimpy/reading/google_takeout.py b/niimpy/reading/google_takeout.py index 713a32e0..46410646 100644 --- a/niimpy/reading/google_takeout.py +++ b/niimpy/reading/google_takeout.py @@ -184,8 +184,6 @@ def activity(zip_filename): new_name = col.replace(" (ms)", "") data[new_name] = pd.to_timedelta(data[col], unit="microseconds") data.drop(col, axis=1, inplace=True) - data.info() - # Format column names util.format_column_names(data) diff --git a/tests/reading/test_read_google_takeout.py b/tests/reading/test_read_google_takeout.py index d3b93a0a..dd84693f 100644 --- a/tests/reading/test_read_google_takeout.py +++ b/tests/reading/test_read_google_takeout.py @@ -23,6 +23,7 @@ def test_read_google_takeout_location(): assert data['activity_type'][1] == "STILL" assert data['activity_inference_confidence'][1] == 62 + def test_read_google_takeout_activity(): """test reading activity data form a Google takeout file.""" data = niimpy.reading.google_takeout.activity(config.GOOGLE_TAKEOUT_PATH)