Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Giving index when joining dataframes
Post: RE: Giving index when joining dataframes

i have got the problem solved. i have added index_col when reading csv file. from df = pd.read_csv('stock_dfs/{}.csv'.format(ticker)) to df = pd.read_csv('stock_dfs/{}.csv'.format(ticker), index_col=...
kw42chan Data Science 1 2,510 Jul-06-2019, 06:19 AM
    Thread: Giving index when joining dataframes
Post: Giving index when joining dataframes

hi all, I copy the code from Sentdex (https://youtu.be/j0zW_KXyQJ4) to produce the output. I got the below error: ValueError: columns overlap but no suffix specified: Index(['Unnamed: 0'], dtype='o...
kw42chan Data Science 1 2,510 Jul-06-2019, 03:55 AM
    Thread: Debugging in VS code
Post: Debugging in VS code

hi all, When i tried to debug in VS code for a py file which involves reading csv with pandas, VS code said cwd needs to be set in launch.json. However, after I set, another issue happen. I wonder if...
kw42chan General Coding Help 0 1,735 Jul-02-2019, 02:06 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020