From 101dc65dc7dad4555a1b2f0e0d935c2b389398a5 Mon Sep 17 00:00:00 2001 From: vishallmaurya <115442999+vishallmaurya@users.noreply.github.com> Date: Sun, 18 Aug 2024 15:35:10 +0530 Subject: [PATCH] data input type changed --- tests/test_1.py | 2 +- tests/test_2.py | 2 +- tests/test_3.py | 2 +- tests/test_4.py | 2 +- tests/test_5.py | 2 +- tests/test_6.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/test_1.py b/tests/test_1.py index c750592..3edd89c 100644 --- a/tests/test_1.py +++ b/tests/test_1.py @@ -15,7 +15,7 @@ def test_example(): csv_path = os.path.join('tests', 'sample_data', 'sample.csv') # Load data - df = pd.read_csv(csv_path) + df = pd.read_csv(csv_path, encoding='ISO-8859-1') X = df.drop(['price'], axis=1) y = df['price'] diff --git a/tests/test_2.py b/tests/test_2.py index 506d561..ebd6aee 100644 --- a/tests/test_2.py +++ b/tests/test_2.py @@ -15,7 +15,7 @@ def test(): csv_path = os.path.join('tests', 'sample_data', 'sample.csv') # Load data - df = pd.read_csv(csv_path) + df = pd.read_csv(csv_path, encoding='ISO-8859-1') X = df.drop(['price'], axis=1) y = df['price'] diff --git a/tests/test_3.py b/tests/test_3.py index dcfd764..2a950fd 100644 --- a/tests/test_3.py +++ b/tests/test_3.py @@ -15,7 +15,7 @@ def test(): csv_path = os.path.join('tests', 'sample_data', 'sample.csv') # Load data - df = pd.read_csv(csv_path) + df = pd.read_csv(csv_path, encoding='ISO-8859-1') X = df.drop(['price'], axis=1) y = df['price'] diff --git a/tests/test_4.py b/tests/test_4.py index f53b6d8..595d268 100644 --- a/tests/test_4.py +++ b/tests/test_4.py @@ -15,7 +15,7 @@ def test(): csv_path = os.path.join('tests', 'sample_data', 'sample.csv') # Load data - df = pd.read_csv(csv_path) + df = pd.read_csv(csv_path,encoding='ISO-8859-1') X = df.drop(['price'], axis=1) y = df['price'] diff --git a/tests/test_5.py b/tests/test_5.py index 283f742..a0c602c 100644 --- a/tests/test_5.py +++ b/tests/test_5.py @@ -15,7 +15,7 @@ def test(): csv_path = os.path.join('tests', 'sample_data', 'sample.csv') # Load data - df = pd.read_csv(csv_path) + df = pd.read_csv(csv_path, encoding='ISO-8859-1') X = df.drop(['price'], axis=1) y = df['price'] diff --git a/tests/test_6.py b/tests/test_6.py index 90c7698..1692da7 100644 --- a/tests/test_6.py +++ b/tests/test_6.py @@ -15,7 +15,7 @@ def test(): csv_path = os.path.join('tests', 'sample_data', 'sample.csv') # Load data - df = pd.read_csv(csv_path) + df = pd.read_csv(csv_path, encoding='ISO-8859-1') X = df.drop(['price'], axis=1) y = df['price']