Jiwonny29 commited on
Commit
1c64b65
โ€ข
1 Parent(s): 5e26372

Update test_dataset.py

Browse files
Files changed (1) hide show
  1. test_dataset.py +1 -18
test_dataset.py CHANGED
@@ -1,20 +1,3 @@
1
- # Copyright 2020 The HuggingFace Datasets Authors and the current dataset script contributor.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
- # TODO: Address all TODOs and remove all explanatory comments
15
- """TODO: Add a description here."""
16
-
17
-
18
  import datasets
19
  import pandas as pd
20
  import numpy as np
@@ -98,7 +81,7 @@ class HealthStatisticsDataset(datasets.GeneratorBasedBuilder):
98
 
99
  @staticmethod
100
  def preprocess_data(data):
101
- data = pd.read_csv("https://docs.google.com/uc?export=download&id=1eChYmZ3RMq1v-ek1u6DD2m_dGIrz3sbi&confirm=t")
102
  data = data[['YearStart', 'LocationAbbr', 'LocationDesc', 'Geolocation', 'Topic', 'Question', 'Data_Value_Type', 'Data_Value', 'Data_Value_Alt',
103
  'Low_Confidence_Limit', 'High_Confidence_Limit', 'Break_Out_Category', 'Break_Out']]
104
  def convert_to_tuple(geo_str):
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  import datasets
2
  import pandas as pd
3
  import numpy as np
 
81
 
82
  @staticmethod
83
  def preprocess_data(data):
84
+ # ์ด ํ•จ์ˆ˜๋Š” ์ด๋ฏธ ์ „์ฒ˜๋ฆฌ๋œ ๋ฐ์ดํ„ฐ๋ฅผ ์‚ฌ์šฉํ•˜๋„๋ก ์ˆ˜์ •๋˜์—ˆ์Šต๋‹ˆ๋‹ค.
85
  data = data[['YearStart', 'LocationAbbr', 'LocationDesc', 'Geolocation', 'Topic', 'Question', 'Data_Value_Type', 'Data_Value', 'Data_Value_Alt',
86
  'Low_Confidence_Limit', 'High_Confidence_Limit', 'Break_Out_Category', 'Break_Out']]
87
  def convert_to_tuple(geo_str):