This file contains hidden or 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
curl -O https://download.clojure.org/install/linux-install-1.10.3.967.sh | |
chmod +x linux-install-1.10.3.967.sh | |
sudo ./linux-install-1.10.3.967.sh |
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.
This file contains hidden or 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
### METHOD ##### | |
def modify(match,df): | |
df['Total_'+match] = 0.0 | |
dropedColumns = [] | |
for col in df.columns: | |
if match in col and col != 'Total_'+match: | |
df['Total_'+match] += df[col].fillna(0) | |
dropedColumns.append(col) | |
df = df.drop(columns = dropedColumns) | |
return df |
This file contains hidden or 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
body{ | |
background: blue; | |
} |
This file contains hidden or 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
System.config({ | |
baseURL: "/", | |
defaultJSExtensions: true, | |
transpiler: "typescript", | |
typescriptOptions: { | |
"tsconfig": true, | |
"module": "system" | |
}, | |
paths: { | |
"github:*": "jspm_packages/github/*", |
This file contains hidden or 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
// Karma configuration | |
// Generated on Mon Apr 25 2016 16:22:29 GMT+0530 (India Standard Time) | |
module.exports = function(config) { | |
config.set({ | |
// base path that will be used to resolve all patterns (eg. files, exclude) | |
basePath: './', | |
plugins: [ |
This file contains hidden or 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
/*global jasmine, __karma__, window*/ | |
Error.stackTraceLimit = Infinity; | |
jasmine.DEFAULT_TIMEOUT_INTERVAL = 1000; | |
__karma__.loaded = function () { | |
}; | |
System.config({ | |
packages: { |
This file contains hidden or 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
;;;; | |
; npm userconfig file | |
; this is a simple ini-formatted file | |
; lines that start with semi-colons are comments. | |
; read `npm help config` for help on the various options | |
;;;; | |
;;;; | |
; all options with default values | |
;;;; |
This file contains hidden or 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
NewerOlder