.


:




:

































 

 

 

 


Windows




matplotlib Window . Spider Linux .

import matplotlibasmpl

mpl.rcParams['font.family'] = 'fantasy'

mpl.rcParams['font.fantasy'] = 'Arial'

:

# Cyrillic letters in Matplotlib,# thanks to Alexey for solution, see http://koldunov.net/?p=290#comments

from matplotlib import rc

rc('font',**{'family':'serif'})

rc('text', usetex=True)

rc('text.latex',unicode=True)

rc('text.latex',preamble='\usepackage[utf8]{inputenc}')

rc('text.latex',preamble='\usepackage[russian]{babel}')

, , , , , fontdict={'family':'verdana'}.

Dimitry http://sky2high.net/2012/10/matplotlib-----/

 

from matplotlib import rc

font = {'family': 'Verdana', 'weight': 'normal'} rc('font', **font)

 

SymPy

, , . , : Real, Rational Integer (, , ), , SymPy . .evalf(), , ,

-sqrt(5)/7 + 2

from sympy import *

eq = sympify('(x/y)-z', locals={'x': 10, 'z': 5})

solution = solve(eq, dict=True)

print (solution)

:c sympy ( , , ). ( : , )

from sympy import *

x,y = symbols('xy')#

equation=1/(1+x)-x # : y/x=(x+y)/y, y=1

res=solve(equation)

 

print (res)

res1=[n.evalf() for n in res]#

print (res1)

 

 

t=y1+(x-x1)*(y2-y1)/(x2-x1)

f=sympy.integrate(t, x)

 

Pandas

'/.xlsx' '', '' . ( , , 1, 1.0. , , , , .

=pd.read_excel('/.xlsx', '', index_col=False,converters={'':str})

, , : - , . . , .

, , , ( ), 3-D , ( ).

- ()

- () , .

- () :

1) ;

2) , .

, - , , α , shaft.α, - cylinder.α. , . , . .

 

() () . .

() . .

:

- , ;

- , ;

- , ;

- ;

- .

.

- .

.

() , .

, . , ( ) .

, Python , - .

" , , . , . , "

:

1) / (),

2) ,

3) .

. .

, , . : .. - - . . . - .

.

. .

, , -. . , . , .

, () (). , (, ), , .

, (. . ) . , , . () , , .

, 70% . , 2-3 , - .

, . . - .

- - () . , .

, . , . . , , , ..

, - ( , , ..) - ( ) () . . , . ( ) () , .

, :

( ).

( ).

, .

- - .

. , , .

:

1. . , , . , . . , . , .

2. . . . : " ( ), ".

3. . -, , . , ( ), ". - . . .

?

, () Leono, https://m.habrahabr.ru/company/yandex/blog/346186/), ?

, , , .

? : .

:

1. ,

2. ,

3. , ( , ),

4. .

- !

.4, , , , / . , , . . , . , , - . , 2-3 . , , . , , , , , .





:


: 2018-10-15; !; : 520 |


:

:

. .
==> ...

1445 - | 1413 -


© 2015-2024 lektsii.org - -

: 0.031 .