Skip to content

Instantly share code, notes, and snippets.

View prakashthegyan's full-sized avatar

Gyan Prakash Tripathi prakashthegyan

View GitHub Profile
import pandas as pd
marks10th=pd.read_csv('10thClassMarks.csv')
marks12th=pd.read_csv('12thClassMarks.csv')
IDandName=pd.read_csv('StudentIDandName.csv')
mergedData.loc[mergedData['Exam Points']==100]
mergedData=allMarks.merge(IDandName, on='student id')
mergedData.head()
allMarks['Exam Points'].max() # Maximum Marks
allMarks['Exam Points'].mean() #Average Marks
@prakashthegyan
prakashthegyan / MergeFunction
Last active February 4, 2020 09:32
Merge Function Introduction
allMarks=marks10th.append(marks12th)
marks10th.shape, marks12th.shape, allMarks.shape
@prakashthegyan
prakashthegyan / gist:36bbded6a42d8725f68eb1df3f128323
Last active February 4, 2020 08:58
View the head of dataframe
marks10th.head()
marks12th.head()
IDandName.head()
@prakashthegyan
prakashthegyan / capstoneNotebook-Copy1.ipynb
Created April 24, 2019 05:48
Created on Cognitive Class Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.