Snippets Collections
>>> 'Coordinates: {latitude}, {longitude}'.format(latitude='37.24N', longitude='-115.81W')
'Coordinates: 37.24N, -115.81W'
>>> coord = {'latitude': '37.24N', 'longitude': '-115.81W'}
>>> 'Coordinates: {latitude}, {longitude}'.format(**coord)
'Coordinates: 37.24N, -115.81W'
(df.groupby('name')['ext price']
 .agg(['mean', 'sum'])
 .style.format('${0:,.2f}'))
star

Mon Jun 14 2021 22:24:45 GMT+0000 (UTC) https://docs.python.org/3/library/string.html

#python #string #format
star

Sun Nov 29 2020 12:48:42 GMT+0000 (UTC) https://docs.modx.com/current/en/building-sites/tag-syntax/date-formats

#modx #date #publishedon #format
star

Mon Oct 26 2020 01:01:58 GMT+0000 (UTC) https://pbpython.com/styling-pandas.html

#python #pandas #format #currency

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension