Python Index Page 7

Exploring big data tools for python: apache arrow

In this tutorial we will use next generation big data tools with python and apache arrow.

Python Index Page 7

How to compile and install apache arrow from source code

Learn how to compile from source code apache arrow project to start using it with python.

Python Index Page 7

How to plot with python pandas

Learn how to do simple plot for python beginners with pandas

Python Index Page 7

Setup a python data analysis environment

In this tutorial we are going to use anaconda for quick library installation and we also show how to organize your files.

Python Index Page 7

How to do a linear regression with sklearn

We are going to create a predictive model using linear regression using sklearn (scikit-learn).

Python Index Page 7

How to check that a file or directory exists with Python?

For checking if a file exists with Python 3 you can use the Path python3 Path class from pathlib module. The Path class has the method exists and is\_file. We also give some examples with Python 2 using the os.path.isfile function.

Python Index Page 7

SOLVED: OSX or macOS Sierra, error while installing python with python: zipimport.ZipImportError: can't decompress data; zlib not available

Read how to solve the zipimport.ZipImportError: can't decompress data; zlib not available error while using pyenv to install a new python version. For OSX our solution was to use export CFLAGS="-I$(brew --prefix openssl)/include -I$(xcrun --show-sdk-path)/usr/include" and export LDFLAGS="-L$(brew --prefix openssl)/lib" environment variables while installing python with pyenv.

Python Index Page 7

SOLVED: fixing macOS Sierra fatal error: 'openssl/opensslv.h' or 'openssl/aes.h' file not found

Steps to fix 'openssl/opensslv.h' or 'openssl/aes.h' file not found error on macOS or OSX.

Python Index Page 7

SOLVED: ImportError: bad magic number in : b'\x03\xf3\r\n'

Learn how to solve the above error when importing python modules. But the solution usually is cleaning pyc files.

Python Index Page 7

SOLVED: Brew+ python3+ pyqt5: ModuleNotFoundError: No module named 'sip'

Using brew PyQt5 and python3 the error: ModuleNotFoundError: No module named 'sip' is raised. We explain hot to solve this issue.