Python Program Hangs

Jun 2 at 9:18 PM
Edited Jun 2 at 11:42 PM
I am experimenting with the Python tool for Visual Studio and want to love it! The issue I am running against is that the program hangs up and will never complete when it involves a 'large' process. The same code finishes within 15 minutes in Ipython (notebook).

An example is using scikit-learns text vector.

this works instantiates the class TfidfVectorizer

tfidf = TfidfVectorizer(tokenizer=tokenize,stop_words='english', min_df=3, max_features=3000, ngram_range=(1,3))

this runs for hours and will not finish (t3 is a pandas data frame with a couple hundred thousand records)

tf_essay = tfidf.fit_transform(t3['essay'])

This finishes fine

tf_essay = tfidf.fit_transform(t3['essay'][0:100])

Here is the dump of what i am using:

Microsoft Visual Studio 2013 RC Shell (Integrated)
Version 12.0.30501.00 Update 2
Microsoft .NET Framework
Version 4.5.51641

Installed Version: None

Team Explorer for Visual Studio 2013 06154-004-0430007-02472
Microsoft Team Explorer for Visual Studio 2013

Visual C# 2013 06154-004-0430007-02472
Microsoft Visual C# 2013

Windows Phone SDK 8.0 - ENU 06154-004-0430007-02472
Windows Phone SDK 8.0 - ENU

Common Azure Tools 1.1
Provides common services for use by Azure Mobile Services and Windows Azure Tools.

Microsoft Advertising SDK for Windows Phone
Microsoft Advertising SDK for Windows Phone
Build

Python Tools for Visual Studio 2.1.20319.03
Python Tools for Visual Studio provides IntelliSense, projects, templates, Interactive windows, and other support for Python developers.

Python Tools for Visual Studio - Django Integration 2.1.20319.03
Provides templates and integration for the Django web framework.

Python Tools for Visual Studio - HPC Support 2.1.20319.03
HPC support for Python projects including MPI cluster launch and debugging.

Python Tools for Visual Studio - Profiling Support 2.1.20319.03
Profiling support for Python projects.

SQL Server Data Tools 12.0.30919.1
Microsoft SQL Server Data Tools

Windows Azure Mobile Services Tools 1.1
Windows Azure Mobile Services Tools

Windows Phone 8.1 SDK Integration 1.0
This package integrates the tools for the Windows Phone 8.1 SDK into the menus and controls of Visual Studio.