User-defined function | Python | Castor Classes https://www.youtube.com/watch?v=w8GFz... Python for beginners: https://www.youtube.com/watch?v=egq7Z...
https://www.facebook.com/pirawenpython/
https://www.facebook.com/groups/pirawenpython/
Author May 31, 2020 Python 1 comment
i am rider (iari) May 29, 2020 Python No comments
In [06]: X = data.iloc[:,1:]
In [07]: X.head ()
In [08]: Y = data.iloc[:,0]
In [09]: Y.head() Out[09]: 0 0 1 0 2 1 3 0 4 1 Name: y, dtype: int64
In [10]: X_train, X_test, Y_train, Y_test = train_test_split(X, Y)
Author May 27, 2020 Books, Python No comments
Compilation Phase | Execution Phase |
Windows | windows |
Compilation Phase | Execution Phase |
Windows | UNIX |
Author May 27, 2020 Python No comments
Author May 27, 2020 Python No comments
Author May 27, 2020 Python No comments
Author May 27, 2020 Python No comments
Author May 27, 2020 Python No comments
Author May 27, 2020 Python No comments
Assembly Language is easy to Learn, but hard to master!"
By seeing such large scale demand skilled professionals, it is rightly said that Python is actually the language of the FUTURE
Author May 25, 2020 Books, Python No comments
i am rider (iari) May 24, 2020 Python 3 comments
In [01]: # creating one hot encoding of categorical column.data = pd.get_dummies(df, columns =['job', 'marital', 'default', 'housing', 'loan', 'poutcome'])
In [02]: data.head()
In [03]: data.columns[12]Out[03]: 'job_unknown'
In [04]: data.drop(data.columns[[12, 16, 18, 22, 24]], axis=1, inplace=True)
In [05]: data.columnsOut[16]: Index(['y', 'job_admin.', 'job_bluecollar', 'jobentrepreneur','jobhousemaid', 'job_management', 'job_retired', 'job_self-employed','jobservices', 'job_student', 'job_technician', 'job_unemployed','marital_divorced', 'marital_married', 'marital_single', 'default_no','default_yes', 'housingno', 'housing_yes', 'loan_no', 'loan_yes','poutcome_failure', 'poutcome_nonexistent', 'poutcomesuccess'],dtype='object')
Free Python PDF Books
— Python Coding (@clcoding) October 6, 2022
🧵:
Can you guess the output of the second piece of code?🐍
Posted by Python Coding on Tuesday, 16 February 2021