diff --git a/function.py b/function.py index 2d51154..f9a8173 100644 --- a/function.py +++ b/function.py @@ -5,7 +5,7 @@ id = "202210423223" name = "李顺潮" def load_data(filepath): - data = pd.read_csv(filepath, header=None) + data = pd.read_table(filepath, header=None, sep=' ') data.replace('?', np.nan, inplace=True) # Identify numeric columns