This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function myFunction(p1, p2) { | |
return p1 * p2; // The function returns the product of p1 and p2 | |
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* plugin for jsPsych based in Qisheng Li 11/2019. /// https://github.com/QishengLi/virtual_chinrest | |
Modified by Gustavo Juantorena 08/2020 // https://github.com/GEJ1 | |
Contributions from Peter J. Kohler: https://github.com/pjkohler | |
*/ | |
jsPsych.plugins['virtual-chinrest'] = (function() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var trial_procedure = { | |
timeline: [ | |
{ | |
type: "canvas-keyboard-response", | |
stimulus: function (c) { | |
var ctx = c.getContext("2d"); | |
ctx.beginPath(); | |
ctx.fillStyle = jsPsych.timelineVariable("color"); | |
ctx.fillRect( | |
jsPsych.timelineVariable("upper_left_x"), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>eye tracking</title> | |
<script src="webgazer.js" type="text/javascript" ></script> | |
</head> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Crear multiples dataframes en base a las columnas de uno en una sola línea | |
import pandas as pd | |
# Creo el DataFrame | |
df = pd.DataFrame({'ingresos': [2,4], | |
'egresos': [1,5], | |
'compras': ['cosas','otras cosas'] | |
}) | |
# Agrupo por columnas dentro de la list comprehension |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer