Author: datapandasadmin

Installing Talend Whilst Java 1.8 Is Already Installed on Windows 10 PC
|

Installing Talend Whilst Java 1.8 Is Already Installed on Windows 10 PC

I was installing Talend and I realised that Talend installation requires Java 1.7 or below but not any Java version above that. (as at the time of writing) The installation quit straight away, giving a notification that it requires Java 1.7 These are the steps I followed to get Talend installation to succeed. First I…

Quick Link to Connect to Google Analytics Developer API
|

Quick Link to Connect to Google Analytics Developer API

Hi Guys, My mentor and Godfather in IT,  Terry,  showed me a simple and quick link to connect to Google Analytics API.  Hope you also find it useful. Link is as below: https://ga-dev-tools.appspot.com/query-explorer/   To connect to your Google Analytics, Simply click on the link : https://ga-dev-tools.appspot.com/query-explorer/ Enter your login details for your Google Analytics account…

Crab Recommender System – Framework in Python Example and installation Problem Fix

  This is just to show that the import errors which were encountered during the installation of Crab, a Recommender Framework in Python  worked fine with the fixes I earlier outlined. These were the errors and how they were fixed: ImportError: No module named ‘scikits ImportError: No module named learn.base   The code below is the…

ImportError: No module named learn.base Crab Python Fix

ImportError: No module named learn.base Crab Python Fix

I was working on Recommender System and had a problem when i tried importing from scikits.crab.recommenders.knn import UserBasedRecommender. I encountered the following error ImportError: No module named learn.base I did research on the web and found one good solution but it was in Chinese. Here is the link and credit to the original fixer :…

ImportError: No module named ‘scikits’ – Python Fix Jupyter Notebook

ImportError: No module named ‘scikits’ – Python Fix Jupyter Notebook

If you have the above problem, to fix this, follow these guidelines as advised by Flowerowl  at this link (https://github.com/muricoca/crab/issues/92): The steps are as follows:   Don’t install crab in this way: pip install crab / easy_install crab You can find crab in pypi.python.org, this is not our scikits.crab source Solution: git clone https://github.com/muricoca/crab.git python setup.py…

Array Processing – Python Numpy – How to work with Arrays in Python

  Hi Guys, Thanks for all your emails. In this note, we will be looking at Array Processing in Python. This is part of lectures on Learning Python for Data Analysis and Visualization by Jose Portilla on Udemy. In [3]: import numpy as np import matplotlib.pyplot as plt %matplotlib inline   In [4]: points = np.arange(-5,5,0.01)   In [5]: dx, dy…

Aggregation – Pandas Numpy Python Series DataFrame

  In this quick notes, we will go through aggregation in Python. This is part of lectures on Learning Python for Data Analysis and Visualization by Jose Portilla on Udemy. import numpy as np import pandas as pd from pandas import Series, DataFrame   url = “http://archive.ics.uci.edu/ml/machine-learning-databases/wine-quality/” In [2]: dframe_wine = pd.read_csv(‘winequality-red.csv’, sep=’;’)   In [4]: dframe_wine.head()   Out[4]: fixed…

|

Rank Sort Series DataFrames in Python Pandas Numpy

  In this quick notes, we will have a look at Rank and Sort in Series and DataFrames in Python In [1]: import numpy as np import pandas as pd from pandas import Series, DataFrame   In [3]: #make a series ser1 = Series(range(3), index=[‘C’,’A’,’B’]) ser1   Out[3]: C 0 A 1 B 2 dtype: int32 In [4]:…

|

Pandas DataFrame and Series Alignment Python Notes

This week we have a look at Data Alignment in Python In [1]: import numpy as np import pandas as pd from pandas import Series, DataFrame   In [2]: #create series ser1 = Series([0,1,3], index=[‘A’,’B’,’C’]) ser1   Out[2]: A 0 B 1 C 3 dtype: int64 In [3]: ser2 = Series([3,4,5,6], index=[‘A’,’B’,’C’,’D’]) ser2   Out[3]: A 3 B…