Search code examples
pythonpandasdataframevisual-studio-codejupyter

using upyter notebook in vscode want to see all entries of pandas data tabled insted of "downsampled" data


I was wondering how would I be able to see the whole data set of the stock data that I requested? I have about 2900+ entries but I am only able to see 1638. Just wondering how would I be able to make vsCode increase this enter image description here

Don't know what to personally do to increase the size


Solution

  • VScode shows the jupyter variables at the bottom.

    So using this sample dataframe for example:

    import pandas as pd
    import numpy as np
    
    d = {'a':np.ones(10000), 'b':np.zeros(10000)}
    
    df = pd.DataFrame(d)
    
    df
    

    You can then look at the variables at the bottom: enter image description here

    and click the small yellow box.

    This will open a new tab, with all of the data.

    enter image description here

    with a scroll bar on the right hand side (in the default setup).