Skip to content

Instantly share code, notes, and snippets.

View vimaloctavius's full-sized avatar
💭
Lean Six Sigma, Data Science, Python, Guitars

Vimal Octavius PJ vimaloctavius

💭
Lean Six Sigma, Data Science, Python, Guitars
View GitHub Profile
@vimaloctavius
vimaloctavius / MusicSchoolReportCard.ipynb
Created August 31, 2020 09:16
Created on Skills Network Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@vimaloctavius
vimaloctavius / GithubBasics
Last active September 11, 2020 07:09
Github Basics on the command line
Install git bash for windows
git --version
To configure user name:
git config --global user.name "YourUserName"
git config --global user.email "YourEmail@domain.com"
Create a new repository on github
To clone the repository you can use http or ssh
…or create a new repository on the command line
echo "# test" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/vimal739/test.git
git push -u origin main
…or push an existing repository from the command line
@vimaloctavius
vimaloctavius / DataSciencePython
Last active February 26, 2022 01:22
Data science 101
df["Age"] = df["Age"]+1
#Dealing with Nan values
df.dropna(subset=["Price"],axis=0,inpace=True) #same as below. axis=1 will drop columns
df=df.dropna(subset=["Price"],axis=0) #same as above
mean = df["Losses"].mean()
df["Losses"].replace(np.nan,mean)
#Data formatting
@vimaloctavius
vimaloctavius / VirtualEnv
Created July 15, 2021 21:37
Virtual Environment For Python Windows
pip install virtualenv
create a new project directory and cd to the project directory
virtualenv --python c:\python38\python.exe venv
.\venv\scripts\activate
deactivate
@vimaloctavius
vimaloctavius / titanic.ipynb
Last active February 16, 2022 04:48
Titanic.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@vimaloctavius
vimaloctavius / incomepredictioneda.ipynb
Created February 19, 2022 04:33
IncomePredictionEDA.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.