xxxxxxxxxx
df = pd.DataFrame({'float': [1.0],
'int': [1],
'datetime': [pd.Timestamp('20180310')],
'string': ['foo']})
df.dtypes
float float64
int int64
datetime datetime64[ns]
string object
dtype: object
xxxxxxxxxx
function myFunction(time)
{
alert('time starts now');
//code to make the program wait before continuing
alert('time is up')
}
xxxxxxxxxx
d = {'col1': [1, 2], 'col2': [3, 4]}
>>> df = pd.DataFrame(data=d)
>>> df.dtypes
col1 int64
col2 int64
dtype: object
xxxxxxxxxx
// Alert displays a little pop-up on the top of the screen
alert("myMessage");
xxxxxxxxxx
swal("Write something here:", {
content: "input",
})
.then((value) => {
swal(`You typed: ${value}`);
});
xxxxxxxxxx
/*
* @title {String or DOMElement} The dialog title.
* @message {String or DOMElement} The dialog contents.
* @onok {Function} Invoked when the user clicks OK button or closes the dialog.
*
* alertify.alert(title, message, onok);
*
*/
alertify.alert('Alert Title', 'Alert Message!', function(){ alertify.success('Ok'); });
xxxxxxxxxx
/*
* @message {String or DOMElement} The dialog contents.
* @onok {Function} Invoked when the user clicks OK button or closes the dialog.
*
* alertify.alert(message, onok);
*
*/
alertify.alert('Alert Message!', function(){ alertify.success('Ok'); });
xxxxxxxxxx
const testing = () => {
const inputValue = document.getElementById("inputField").value;
alert(inputValue);
}
xxxxxxxxxx
"Not Found"