Telegram: https://t.me/clcoding_python
https://www.facebook.com/pirawenpython
https://www.facebook.com/groups/pirawenpython/
Author May 17, 2020 Python No comments
Author May 17, 2020 Python No comments
Author May 17, 2020 Python No comments
Author May 17, 2020 Python No comments
Author May 17, 2020 Python No comments
i am rider (iari) May 15, 2020 Python No comments
import pandas as pdimport seaborn as sbfrom matplotlib import pyplot as pltdf = sb.load_dataset('titanic')sb.barplot(x = "sex", y = "survived", hue = "class", data = df)plt.show()
Author May 14, 2020 Python No comments
Author May 14, 2020 Python No comments
i am rider (iari) May 13, 2020 Python No comments
import matplotlib.pyplot as plt
import numpy as np
x = np.arange(0, math.pi*2, 0.05)
y = np.sin(x)
plt.plot(x,y)
#You can set the plots title, and labels for x and y axes.plt.xlabel("angle")plt.ylabel("sine")plt.title('sine wave')
plt.show()
from matplotlib import pyplot as pltimport numpy as npimport math #needed for definition of pix = np.arange(0, math.pi*2, 0.05)y = np.sin(x)plt.plot(x,y)plt.xlabel("angle")plt.ylabel("sine")plt.title('sine wave')plt.show()
Author May 12, 2020 Python No comments
i am rider (iari) May 12, 2020 Python No comments
import pandas as pd import numpy as np unsorted_df=pd.DataFrame(np.random.randn(10,2),index=[1,4,6,2,3,5,9,8,0,7],colu mns=['col2','col1']) print unsorted_df
col2 col1 1 -2.063177 0.537527 4 0.142932 -0.684884 6 0.012667 -0.389340 2 -0.548797 1.848743 3 -1.044160 0.837381 5 0.385605 1.300185 9 1.031425 -1.002967 8 -0.407374 -0.435142 0 2.237453 -1.067139 7 -1.445831 -1.701035
import pandas as pd import numpy as np data = np.random.rand(2,4,5) p = pd.Panel(data) print p
<class 'pandas.core.panel.Panel'> Dimensions: 2 (item) x 4 (major_axis) x 5 (minor_axis) Items axis: 0 to 1 Major_axis axis: 0 to 3 Minor_axis axis: 0 to 4
i am rider (iari) May 10, 2020 Python No comments
import numpy as np a = np.array([0,30,45,60,90]) print 'Sine of different angles:' # Convert to radian by multiplying with pi/180 print np.sin(a*np.pi/180) print '\n' print 'Cosine values for angles in array:' print np.cos(a*np.pi/180) print '\n' print 'Tangent values for given angles:' print np.tan(a*np.pi/180)
Sine of different angles: [ 0. 0.5 0.70710678 0.8660254 1. ] Cosine values for angle in array: [ 1.00000000e+00 8.66025404e-01 7.07106781e-01 5.00000000e-01 6.12323400e-17] Tangent values for given angle: [ 0.00000000e+00 5.77350269e-01 1.00000000e+00 1.73205081e+00 1.63312394e+16]for detail information please open below drive link:
Free Books Python Programming for Beginnershttps://t.co/uzyTwE2B9O
— Python Coding (@clcoding) September 11, 2023
Top 10 Python Data Science book
— Python Coding (@clcoding) July 9, 2023
🧵:
Top 4 free Mathematics course for Data Science ! pic.twitter.com/s5qYPLm2lY
— Python Coding (@clcoding) April 26, 2024
Web Development using Python
— Python Coding (@clcoding) December 2, 2023
🧵: