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
| { | |
| "public_identifier": "suman-sarkar-40b62243", | |
| "profile_pic_url": "https://s3.us-west-000.backblazeb2.com/proxycurl/person/suman-sarkar-40b62243/profi le?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=0004d7f56a0400b0000000001%2F20231013%2Fus-west-000%2Fs3%2Faws4_request&X-Amz-Date=20231013T141619Z& X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=4cece6b3bbe2724374e47154802e1c805c4f166ec58b9ddc263ab7de40ee5dee", | |
| "background_cover_image_u rl": "https://s3.us-west-000.backblazeb2.com/proxycurl/person/suman-sarkar-40b62243/cover?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=0004d7f56a04 00b0000000001%2F20231013%2Fus-west-000%2Fs3%2Faws4_request&X-Amz-Date=20231013T141619Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=15271 9eb30bb41812f398c2890997b8b941c46179d3389add2f8d441f430b11a", | |
| "first_name": "Suman", | |
| "last_name": "Sarkar", | |
| "full_name": "Suman Sarkar", | |
| "follower_count ": 501, | |
| "occupation": "Application Developer at Oracle in Financial Service |
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
| #Load required Keras libraries: | |
| from keras.preprocessing.sequence import pad_sequences | |
| from keras.models import Model | |
| from keras.layers import Input, Embedding, LSTM, Merge | |
| import keras.backend as K | |
| from keras.optimizers import Adadelta | |
| from keras.callbacks import ModelCheckpoint | |
| I wrote a routine to clean text data | |
| def text_to_word_list(text): | |
| ''' Pre process and convert texts to a list of words ''' |
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
| import pandas as pd | |
| from pathlib import Path | |
| #define parameters | |
| #path to files | |
| path_old=Path(r'C:\Users\owner\Documents\old.xlsx') | |
| path_new=Path(r'C:\Users\owner\Documents\new.xlsx') | |
| #list of key column(s) | |
| key=['id'] | |
| #sheets to read in |