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
const addNumbers = (a: number, b: number): number => { | |
return a + b; | |
}; | |
// Inference | |
const subtractNums = (a: number, b: number) => { | |
return a - b; | |
}; | |
// function subtractNums( a: number, b: number): number |
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
let apples: number = 5; | |
let speed: string = 'fast'; | |
let hasName: boolean = true; | |
let nothingMuch: null = null; | |
let nothing: undefined = undefined; | |
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
Library IEEE; | |
USE ieee.std_logic_1164.all; | |
Entity Mux4to1 IS | |
PORT(A,B,C,D: IN std_logic_vector(1 downto 0); | |
I: IN std_logic_vector(1 downto 0); | |
O: OUT std_logic_vector(1 downto 0)); | |
END Mux4to1; |
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
CREATE TABLE public.activation_codes | |
( | |
id integer NOT NULL, | |
userid integer, | |
verificationcode character varying(8) COLLATE pg_catalog."default", | |
activationdate timestamp with time zone, | |
CONSTRAINT activation_codes_pkey PRIMARY KEY (id) | |
) | |
TABLESPACE pg_default; |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
import pandas as pd | |
data = pd.read_csv('GBvideos.csv') | |
df = pd.DataFrame(data) | |
################################################################################## | |
# 1- İlk on kaydı getirin. | |
result = df.head(10) |
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
Player | height | weight | collage | born | birth_city | birth_state | ||
---|---|---|---|---|---|---|---|---|
0 | Curly Armstrong | 180 | 77 | Indiana University | 1918 | |||
1 | Cliff Barker | 188 | 83 | University of Kentucky | 1921 | Yorktown | Indiana | |
2 | Leo Barnhorst | 193 | 86 | University of Notre Dame | 1924 | |||
3 | Ed Bartels | 196 | 88 | North Carolina State University | 1925 | |||
4 | Ralph Beard | 178 | 79 | University of Kentucky | 1927 | Hardinsburg | Kentucky | |
5 | Gene Berce | 180 | 79 | Marquette University | 1926 | |||
6 | Charlie Black | 196 | 90 | University of Kansas | 1921 | Arco | Idaho | |
7 | Nelson Bobb | 183 | 77 | Temple University | 1924 | Philadelphia | Pennsylvania | |
8 | Jake Bornheimer | 196 | 90 | Muhlenberg College | 1927 | New Brunswick | New Jersey |
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
import pandas as pd | |
import numpy as np | |
data = { | |
'Column1': [1,2,3,4,5,6], | |
'Column2': [10,20,13,20,25,-3], | |
'Column3': ['abc','bca','ade','cba','dea','cbea'] | |
} |
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
import pandas as pd | |
customers = { | |
'customerID': [1,2,3,4], | |
'firstName': ['Ahmet','Ali','Hasan','Canan'], | |
'lastName' : ['Yılmaz','Korkmaz','Çelik','Toprak'], | |
} |