A personal diary of DataFrame munging over the years.
Convert Series datatype to numeric (will error if column has non-numeric values)
(h/t @makmanalp)
/** | |
* A script to automate requesting data from Google Analytics. | |
* | |
* @author [email protected] (Nick Mihailovski) | |
*/ | |
/** | |
* The name of the configration sheet. | |
* And various parameters. |
<?php | |
use GuzzleHttp\Message\Response; | |
class MailTestCase extends TestCase { | |
protected $mailcatcher; | |
function __construct() | |
{ |
A personal diary of DataFrame munging over the years.
Convert Series datatype to numeric (will error if column has non-numeric values)
(h/t @makmanalp)
Google Analytics
This code is used to track users in GA across two completely different root domains (A.com to B.com). Insert the code below into your Unbounce landing page.
<script>
$('.lp-pom-button, .lp-pom-text a, .lp-pom-image a').click(function(event) {
var parentClass = $(this).parent().attr('class');
// Report on how close variants relate to your keywords in Google Ads | |
// Free AdWords Script courtesy of Optmyzr.com | |
// September 12, 2018 | |
function main() { | |
// ----------------- | |
// Edit this section with your preferences | |
// ---------------- | |
var time = 'LAST_30_DAYS'; |