Firstly, Convert column into float type
data['Amount'] = data['Amount'].fillna(0).astype('float64')
Format column as Currency format. eg : 12,345.00
Contains technology articles
Firstly, Convert column into float type
data['Amount'] = data['Amount'].fillna(0).astype('float64')
Format column as Currency format. eg : 12,345.00
$ sudo du /backup/ -h | sort -h
<?php
$oldstring="12. What is Your Name";
$newstring=preg_replace('/[\d]+[\.]+[\s?]/', '',$oldstring);
echo $newstring;
?>
SELECT DATE_FORMAT(NOW(), '%Y') - DATE_FORMAT(DOB, '%Y') - (DATE_FORMAT(NOW(), '00-%m-%d') < DATE_FORMAT(DOB, '00-%m-%d')) AS age FROM students
SELECT YEAR( CURDATE( ) ) - YEAR( DOB ) AS age FROM students.
$ mysqldump -u root -pmqr dbname |gzip -9 > /backup/koha/dbname-$(date +"%d-%m-%Y-%H:%M:%S").gz
<?php
// chek email validation
if (!preg_match('/^[^0-9][a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)*[@][a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)*[.][a-zA-Z]{2,4}$/',$_POST['email']))
{
echo "invalid Email Address";
}
?>