Posts

Showing posts from July, 2020

mysql commands practices in workbench

you can learn via below pdf show pdf

numpy(Python for data science)

numpy In [1]: import numpy as np In [2]: arr = np . array ([[ 1 , 2 , 3 ],[ 4 , 5 , 6 ]]) In [3]: arr #int array, element seperated by commas Out[3]: array([[1, 2, 3], [4, 5, 6]]) In [4]: np . ndim ( arr ) Out[4]: 2 In [5]: arr . ndim arr . size arr . shape arr . dtype Out[5]: dtype('int32') In [6]: print ( arr . ndim , arr . size , arr . shape , arr . dtype ) 2 6 (2, 3) int32 In [13]: print ( "dimension : {} \n size : {} " . format ( arr . ndim , arr . size )) dimension :2 size : 6 In [14]: arr_dict = { "dimension" : arr . ndim , "size" : arr . size , "shape" : arr . shape , "data-type" : arr . dt...