Posts by Lucas Kotres • 61 points
2 posts
-
1
votes1
answer906
viewsA: How to implement a linear regression algorithm in python?
You can use the method linregress lib Scipy. from scipy import stats slope, intercept, r_value, p_value, std_err = stats.linregress(x,y)#método de regressão print slope print intercept print r_value…
-
5
votes4
answers33522
viewsA: How to read a CSV file in Python?
If your csv file is too large, you can use Lib Pandas read_csv method. At first it performs better than standard Python csv. import pandas as pd print pd.read_csv('file.csv') The return is an object…
pythonanswered Lucas Kotres 61