Skip to content

Instantly share code, notes, and snippets.

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
@RamVellanki
RamVellanki / tfidfcosine.ipynb
Created June 7, 2020 07:48
TFIDFCosine.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@RamVellanki
RamVellanki / m1_mini_hackathon2_bank_marketing.ipynb
Created May 30, 2020 09:17
M1_Mini_Hackathon2_Bank_Marketing.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
### 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
body{
background: blue;
}
System.config({
baseURL: "/",
defaultJSExtensions: true,
transpiler: "typescript",
typescriptOptions: {
"tsconfig": true,
"module": "system"
},
paths: {
"github:*": "jspm_packages/github/*",
// 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: [
/*global jasmine, __karma__, window*/
Error.stackTraceLimit = Infinity;
jasmine.DEFAULT_TIMEOUT_INTERVAL = 1000;
__karma__.loaded = function () {
};
System.config({
packages: {
@RamVellanki
RamVellanki / default-npmrc
Created April 18, 2016 09:56 — forked from mrzool/default-npmrc
The default npmrc
;;;;
; 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
;;;;
@RamVellanki
RamVellanki / 0_reuse_code.js
Created March 24, 2016 15:45
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console