py
py copied to clipboard
Repository to store sample python programs for python learning
Because per capita income (US$) this column not open that's why I edit little bit.
As in the given task to find the bank churn prediction model, I train the model using the given dataset from kaggle and find out precision, recall , a good...
Hi, When I use your code samples of panda, namely "import pandas.io.data as web", jupyter throws a module not found error. I tried replacing it with "import pandas_datareader.data but still...
In the Data Structures folder, the folder numbering starts from 2 and goes up to 10 with number 4 and number 9 occurring for more than one folders. The problem...
In the age column, there are 177 Nan. How to deal with whether should I delete them or put the mean of age column??
Following code from this [file](https://github.com/codebasics/py/blob/master/DataScience/CelebrityFaceRecognition/model/data_cleaning.ipynb) in celebrity recognition project does not work: ``` face_cascade = cv2.CascadeClassifier('./opencv/haarcascades/haarcascade_frontalface_default.xml') eye_cascade = cv2.CascadeClassifier('./opencv/haarcascades/haarcascade_eye.xml') faces = face_cascade.detectMultiScale(gray, 1.3, 5) faces ``` **Error:** ``` --------------------------------------------------------------------------- error...
https://github.com/codebasics/py/blob/4fd3f62794e5f7cca9efaf2f835239b6213afef7/DataStructures/9_Binary_Tree_2/Exercise/binary_tree_part_2_exercise.py#L64 If self.right is None: return self.left Example: data_elements = [17, 5, 2, 23, 18, 34] Try to delete element 5