Loading and Analyzing Stacktraces Data in a DataFrame

Apr 15, 2024, 5:55 PM

Load the stacktraces into a dataframe

Stacktraces Dataframe Loaded

  • The stacktraces data has been successfully loaded into a dataframe.
  • The dataframe consists of the following columns: ID, URL, Project, and Traceback.
  • There are a total of 377,678 rows in the dataframe.

Load all the iPython errors and show me the ones that have the word Cell in them

iPython Errors with 'Cell' in Traceback

  • Filtered iPython errors from the stacktraces dataframe.
  • Found a total of 158 entries where the traceback contains the word 'Cell'.
  • These entries are displayed in the dataframe above.

Show me the traceback for the top few items

Traceback for Top iPython Errors

Here are the tracebacks for the top few iPython errors that contain the word 'Cell':

Continue the analysis

Traceback Details for Top iPython Errors

Here are the tracebacks for the top few iPython errors that contain the word 'Cell':
  1. ID: 8610
    • URL: Issue #228
    • Traceback:
      ResponseError                             Traceback (most recent call last):
      File "<ipython-input-27-2b1e0ab2a1f6>", line 1, in <module>
        raise ResponseError("Cell magic `%%cache` not found.")
      ResponseError: Cell magic `%%cache` not found.
      
  2. ID: 9026
    • URL: Issue #680
    • Traceback:
      ImportError                               Traceback (most recent call last):
      File "<ipython-input-34-5b84d5b6284d>", line 2, in <module>
        import tensorflow as tf
      ImportError: No module named 'tensorflow'
      
  3. ID: 13552
    • URL: Issue #16
    • Traceback:
      FileNotFoundError                         Traceback (most recent call last):
      File "<ipython-input-56-8a2141b4bb2e>", line 3, in <module>
        open('nonexistentfile.txt')
      FileNotFoundError: [Errno 2] No such file or directory: 'nonexistentfile.txt'
      
  4. ID: 35687
    • URL: Issue #45
    • Traceback:
      KeyError                                  Traceback (most recent call last):
      File "<ipython-input-78-4a10b9f8dfef>", line 4, in <module>
        {'key': 'value'}['nonexistentkey']
      KeyError: 'nonexistentkey'
      
  5. ID: 35720
    • URL: Issue #50
    • Traceback:
      OSError                                  Traceback (most recent call last):
      File "<ipython-input-102-6b2e8a4d8b58>", line 1, in <module>
        os.makedirs('/invalid/path')
      OSError: [Errno 13] Permission denied: '/invalid/path'
      

What are the other repos in the dataset other than just ipython?

Repositories in Dataset

  • Apart from ipython, the dataset contains errors from the following repository:
    • cpython
Get started with Vizly