Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
( | |
$feature.commute_ACSTWORKU5 * 2.5 | |
+ $feature.commute_ACSTWORK5 * 7.0 | |
+ $feature.commute_ACSTWORK10 * 12.0 | |
+ $feature.commute_ACSTWORK15 * 17.0 | |
+ $feature.commute_ACSTWORK20 * 22.0 | |
+ $feature.commute_ACSTWORK25 * 27.0 | |
+ $feature.commute_ACSTWORK30 * 32.0 | |
+ $feature.commute_ACSTWORK35 * 37.0 | |
+ $feature.commute_ACSTWORK40 * 42.0 |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
snk1_re = re.compile(r'(.)([A-Z][a-z]+)') # single capital preceded by any character and followed by lowercase | |
snk2_re = re.compile('([a-z0-9])([A-Z])') # single capital preceded by lowercase or numeral | |
def to_snake(name:str): | |
assert isinstance(name, str) | |
nm1 = snk1_re.sub(r'\1_\2', name) | |
nm2 = snk2_re.sub(r'\1_\2', nm1).lower() | |
return nm2 | |
def to_camel(name:str): |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.