當前位置: 首頁>>代碼示例>>Python>>正文


Python DataCleaning.internationalizeFuel方法代碼示例

本文整理匯總了Python中OperationUtils.data_operations.DataCleaning.internationalizeFuel方法的典型用法代碼示例。如果您正苦於以下問題:Python DataCleaning.internationalizeFuel方法的具體用法?Python DataCleaning.internationalizeFuel怎麽用?Python DataCleaning.internationalizeFuel使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在OperationUtils.data_operations.DataCleaning的用法示例。


在下文中一共展示了DataCleaning.internationalizeFuel方法的7個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。

示例1: test_internationalizes_fuel_hybrid

# 需要導入模塊: from OperationUtils.data_operations import DataCleaning [as 別名]
# 或者: from OperationUtils.data_operations.DataCleaning import internationalizeFuel [as 別名]
 def test_internationalizes_fuel_hybrid(self):
     toInternationalize = "hybryda"
     self.assertEqual(DataCleaning.internationalizeFuel(toInternationalize), "hybrid")
開發者ID:madamczak,項目名稱:cardata,代碼行數:5,代碼來源:unit_tests.py

示例2: test_internationalizes_fuel_unknown

# 需要導入模塊: from OperationUtils.data_operations import DataCleaning [as 別名]
# 或者: from OperationUtils.data_operations.DataCleaning import internationalizeFuel [as 別名]
 def test_internationalizes_fuel_unknown(self):
     toInternationalize = "aaabbb"
     self.assertEqual(DataCleaning.internationalizeFuel(toInternationalize), "unknown")
開發者ID:madamczak,項目名稱:cardata,代碼行數:5,代碼來源:unit_tests.py

示例3: test_internationalizes_fuel_other

# 需要導入模塊: from OperationUtils.data_operations import DataCleaning [as 別名]
# 或者: from OperationUtils.data_operations.DataCleaning import internationalizeFuel [as 別名]
 def test_internationalizes_fuel_other(self):
     toInternationalize = "inny"
     self.assertEqual(DataCleaning.internationalizeFuel(toInternationalize), "other")
開發者ID:madamczak,項目名稱:cardata,代碼行數:5,代碼來源:unit_tests.py

示例4: test_internationalizes_fuel_ethanol

# 需要導入模塊: from OperationUtils.data_operations import DataCleaning [as 別名]
# 或者: from OperationUtils.data_operations.DataCleaning import internationalizeFuel [as 別名]
 def test_internationalizes_fuel_ethanol(self):
     toInternationalize = "etanol"
     self.assertEqual(DataCleaning.internationalizeFuel(toInternationalize), "ethanol")
開發者ID:madamczak,項目名稱:cardata,代碼行數:5,代碼來源:unit_tests.py

示例5: test_internationalizes_fuel_hydrogen

# 需要導入模塊: from OperationUtils.data_operations import DataCleaning [as 別名]
# 或者: from OperationUtils.data_operations.DataCleaning import internationalizeFuel [as 別名]
 def test_internationalizes_fuel_hydrogen(self):
     toInternationalize = "wodor"
     self.assertEqual(DataCleaning.internationalizeFuel(toInternationalize), "hydrogen")
開發者ID:madamczak,項目名稱:cardata,代碼行數:5,代碼來源:unit_tests.py

示例6: test_internationalizes_fuel_electric

# 需要導入模塊: from OperationUtils.data_operations import DataCleaning [as 別名]
# 或者: from OperationUtils.data_operations.DataCleaning import internationalizeFuel [as 別名]
 def test_internationalizes_fuel_electric(self):
     toInternationalize = "elektryczny"
     self.assertEqual(DataCleaning.internationalizeFuel(toInternationalize), "electric")
開發者ID:madamczak,項目名稱:cardata,代碼行數:5,代碼來源:unit_tests.py

示例7: test_internationalizes_fuel_petrol_cng2

# 需要導入模塊: from OperationUtils.data_operations import DataCleaning [as 別名]
# 或者: from OperationUtils.data_operations.DataCleaning import internationalizeFuel [as 別名]
 def test_internationalizes_fuel_petrol_cng2(self):
     toInternationalize = "benzyna+cng"
     self.assertEqual(DataCleaning.internationalizeFuel(toInternationalize), "petrol + cng")
開發者ID:madamczak,項目名稱:cardata,代碼行數:5,代碼來源:unit_tests.py


注:本文中的OperationUtils.data_operations.DataCleaning.internationalizeFuel方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。