Cannot use scipy.stats

expanding on my comment (to have a listed answer). Scipy, as many other large packages, doesn’t import all modules automatically. If we want to use the subpackages of scipy, then we need to import them directly. However, some scipy subpackages load other scipy subpackages, so for example importing scipy.stats also imports a large number of … Read more

Reading csv zipped files in python

I used the zipfile module to import the ZIP directly to pandas dataframe. Let’s say the file name is “intfile” and it’s in .zip named “THEZIPFILE”: import pandas as pd import zipfile zf = zipfile.ZipFile(‘C:/Users/Desktop/THEZIPFILE.zip’) df = pd.read_csv(zf.open(‘intfile.csv’))

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)