• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Python functions.attribute_label函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Python中urbansim.functions.attribute_label函数的典型用法代码示例。如果您正苦于以下问题:Python attribute_label函数的具体用法?Python attribute_label怎么用?Python attribute_label使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了attribute_label函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Python代码示例。

示例1: dependencies

 def dependencies(self):
     return [
         my_attribute_label("household_id"),
         attribute_label("person", "work_nonhome_based"),
         "psrc.person.work_place_zone_id",
         attribute_label("person", "household_id"),
     ]
开发者ID:christianurich,项目名称:VIBe2UrbanSim,代码行数:7,代码来源:number_of_nonhome_based_workers_with_valid_work_place_zone_id.py


示例2: dependencies

 def dependencies(self):
     return [
         attribute_label("job", self.job_is_in_employment_sector_group),
         attribute_label("job", "job_id"),
         attribute_label("job", "grid_id"),
         my_attribute_label("grid_id"),
     ]
开发者ID:christianurich,项目名称:VIBe2UrbanSim,代码行数:7,代码来源:number_of_jobs_of_group_SSS.py


示例3: dependencies

 def dependencies(self):
     return [
         attribute_label("development_group", "group_id"),
         attribute_label("development_group", self.gr_name),
         my_attribute_label(self.development_type_id),
         attribute_label("development_type", "development_type_id"),
     ]
开发者ID:psrc,项目名称:urbansim,代码行数:7,代码来源:is_in_development_type_group_SSS.py


示例4: dependencies

 def dependencies(self):
     return [attribute_label("gridcell", self.gc_tfhtj_income_1),
             attribute_label("gridcell", self.gc_tfhtj_income_2),
             attribute_label("gridcell", self.gc_tfhtj_income_3),
             attribute_label("gridcell", self.gc_tfhtj_income_4),
             attribute_label("gridcell", 'grid_id'),
             attribute_label("household", self.hh_income_1),
             attribute_label("household", self.hh_income_2),
             attribute_label("household", self.hh_income_3),
             attribute_label("household", self.hh_income_4)
             ]
开发者ID:psrc,项目名称:urbansim,代码行数:11,代码来源:ln_access_from_residence_to_workplaces.py


示例5: dependencies

 def dependencies(self):
     return [
         "psrc.person.household_id",
         "psrc.person." + self.var_name,
         "psrc.person." + self.worker,
         attribute_label("household", "household_id"),
     ]
开发者ID:christianurich,项目名称:VIBe2UrbanSim,代码行数:7,代码来源:workerDDD_SSS.py


示例6: dependencies

 def dependencies(self):
     return [
         "psrc.person.household_id",
         "psrc.person." + self.county,
         "psrc.person." + self.worker,
         attribute_label("household", "household_id"),
         "psrc.household.has_" + self.worker,
     ]
开发者ID:psrc,项目名称:urbansim,代码行数:8,代码来源:is_workerDDD_work_place_in_county_DDD_if_has_the_worker.py


示例7: dependencies

 def dependencies(self):
     return [attribute_label("gridcell", self.gc_wauh_to_work_ai_1),
             attribute_label("gridcell", self.gc_wauh_to_work_ai_2),
             attribute_label("gridcell", self.gc_wauh_to_work_ai_3),
             attribute_label("gridcell", self.gc_wauh_to_work_ai_4),
             attribute_label("household", self.hh_income_1),
             attribute_label("household", self.hh_income_2),
             attribute_label("household", self.hh_income_3),
             attribute_label("household", self.hh_income_4)
             ]
开发者ID:christianurich,项目名称:VIBe2UrbanSim,代码行数:10,代码来源:trip_weighted_average_utility_hbw_to_work_am_income.py


示例8: dependencies

 def dependencies(self):
     return [attribute_label("neighborhood", "ln_price"), 
             attribute_label("household", "medinc")]
开发者ID:christianurich,项目名称:VIBe2UrbanSim,代码行数:3,代码来源:inc_lnprice.py


示例9: dependencies

 def dependencies(self):
     return [attribute_label("building", "building_age"), attribute_label("building", "grid_id")]
开发者ID:psrc,项目名称:urbansim,代码行数:2,代码来源:n_recent_buildings.py


示例10: dependencies

 def dependencies(self):
     return [attribute_label("job", self.is_commercial), 
             attribute_label("job", "zone_id")]
开发者ID:psrc,项目名称:urbansim,代码行数:3,代码来源:number_of_commercial_jobs.py


示例11: my_attribute_label

def my_attribute_label(attribute_name):
    """Return a triple (package, dataset_name, attribute_name).
    """
    return attribute_label("development_project", attribute_name)
开发者ID:christianurich,项目名称:VIBe2UrbanSim,代码行数:4,代码来源:variable_functions.py


示例12: dependencies

 def dependencies(self):
     return [attribute_label("household", self.is_mid_income), 
             attribute_label("household", "grid_id"), 
             my_attribute_label("grid_id")]
开发者ID:christianurich,项目名称:VIBe2UrbanSim,代码行数:4,代码来源:number_of_mid_income_households.py


示例13: dependencies

 def dependencies(self):
     return ["psrc.parcel.%s" % self.is_in_city,
             attribute_label("household", self.hh_income)]
开发者ID:christianurich,项目名称:VIBe2UrbanSim,代码行数:3,代码来源:income_and_is_in_city_SSS.py


示例14: dependencies

 def dependencies(self):
     return [attribute_label("gridcell", "zone_id"), 
             my_attribute_label("zone_id")]
开发者ID:psrc,项目名称:urbansim,代码行数:3,代码来源:number_of_gridcells.py


示例15: dependencies

 def dependencies(self):
     return [attribute_label("gridcell", "region_id"),
             attribute_label("gridcell", "population"),
             attribute_label("gridcell", "is_outside_urban_growth_boundary")]
开发者ID:christianurich,项目名称:VIBe2UrbanSim,代码行数:4,代码来源:population_outside_ugb.py


示例16: dependencies

 def dependencies(self):
     return [attribute_label("gridcell", "sqft_of_%s_jobs" % self.type), 
              attribute_label("gridcell", "zone_id"), 
              my_attribute_label("number_of_%s_jobs" % self.type)]
开发者ID:psrc,项目名称:urbansim,代码行数:4,代码来源:SSS_sqft_per_job.py


示例17: dependencies

 def dependencies(self):
     return [
         attribute_label("gridcell", self.gc_utility_for_transit_walk),
         attribute_label("household", self.has_persons),
     ]
开发者ID:psrc,项目名称:urbansim,代码行数:5,代码来源:utility_for_transit_walk_DDD_person.py


示例18: dependencies

 def dependencies(self):
     return [attribute_label("gridcell", self.commercial_sqft),
             attribute_label("gridcell", self.industrial_sqft),
             attribute_label("gridcell", self.governmental_sqft),
             my_attribute_label(self.land_cover_grid_id_index)] 
开发者ID:christianurich,项目名称:VIBe2UrbanSim,代码行数:5,代码来源:comm_den.py


示例19: dependencies

 def dependencies(self):
     return [attribute_label("zone", "number_of_jobs")]
开发者ID:psrc,项目名称:urbansim,代码行数:2,代码来源:ln_number_of_jobs.py


示例20: dependencies

 def dependencies(self):
     return [attribute_label("household", self.has_persons), 
             attribute_label("household", "zone_id")]
开发者ID:psrc,项目名称:urbansim,代码行数:3,代码来源:number_of_DDD_persons_households.py



注:本文中的urbansim.functions.attribute_label函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Python misc.data_dir函数代码示例发布时间:2022-05-27
下一篇:
Python household_dataset.HouseholdDataset类代码示例发布时间:2022-05-27
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap