1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Python] How to read csv without header in pandas

Discussão em 'Python' iniciado por Stack, Novembro 28, 2025.

  1. Stack

    Stack Membro Participativo

    I use

    Adj = pd.read_csv('xxxxxx.csv', usecols=["Adj Close"])


    to read my csv file and result is looks like:

    Adj Close
    0 0.007427
    1 0.002013
    2 0.008874


    my csv file look like:

    Date Open High Low Close Volume Adj Close
    x x x x x 832.349976
    x x x x x 832.349923


    I trying to get the result like:

    0 0.007427 or 0.007427
    1 0.002013 0.002013
    2 0.008874 0.008874


    what should I do? Thanks!

    Continue reading...

Compartilhe esta Página