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
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 |
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
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 |
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
…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 |
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
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 |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.