Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

fill zeros left python

# apply to pandas dataframe column
df['column'].apply(lambda x: str(x).zfill(11))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #fill #zeros #left #python
ADD COMMENT
Topic
Name
8+7 =