Testing python document here

Mohammad Mohammadi

Mohammad Mohammadi / January 01, 2022

1 min read

Testing python syntax here

GET API

Loading ...

PUT API

Name: ID:

Here is my sample code

import numpy as np
for i in range(0,5):
    print(i)

Some latex too

here we think about x2x^{2}

import pandas as pd

df = pd.Dataframe()
for i in range(5):
    print(df.loc(i,:))

xi+yi2+i=xyf(x)dx=zix_i + y_i^2 + \sum_{i=x}^{y} f(x)dx= z_i

Here is another equation:

minQ=minβYY2βXY+βXXβ=minβ2βXY+βXXβ[FOC]   0=2XY+2XXβ^β^=(XX)1XY=(nx_ix_i)1nx_iyi\begin{aligned} \min Q & = \min*{\beta} \mathbf{Y}'\mathbf{Y} - 2\beta'\mathbf{X}'\mathbf{Y} + \beta'\mathbf{X}'\mathbf{X}\beta \\ & = \min*{\beta} - 2\beta'\mathbf{X}'\mathbf{Y} + \beta'\mathbf{X}'\mathbf{X}\beta \\ \text{[FOC]}~~~0 & = - 2\mathbf{X}'\mathbf{Y} + 2\mathbf{X}'\mathbf{X}\hat{\beta} \\ \hat{\beta} & = (\mathbf{X}'\mathbf{X})^{-1}\mathbf{X}'\mathbf{Y} \\ & = (\sum^{n} \mathbf{x}\_i \mathbf{x}'\_i)^{-1} \sum^{n} \mathbf{x}\_i y_i \end{aligned}
xi+yi=zi2\begin{equation*} x_i + y_i = z_i^2 \end{equation*}

here is my plotly

Plotly Plots

Using ChartJs in MDX