Giter VIP home page Giter VIP logo

Comments (3)

nithinmurali avatar nithinmurali commented on May 25, 2024

I am unable to reproduce this. Does your sheet have some special characteristics? or is it a normal new sheet?

from pygsheets.

maksam07 avatar maksam07 commented on May 25, 2024

I am unable to reproduce this. Does your sheet have some special characteristics? or is it a normal new sheet?

Unfortunately, this is no longer relevant for the time being; I'm no longer doing that project. We can temporarily close this thread. If I ever come back to it, we'll talk again

from pygsheets.

maksam07 avatar maksam07 commented on May 25, 2024

@nithinmurali

sh = gc.open_by_key('***')
ws = sh.worksheet_by_title('***')
print(ws.range('A1:C'))
print(ws.range('A2:C'))
print('*' * 20)
print(ws.range('A1:C5'))
print(ws.range('A2:C5'))

Output:

[[<Cell A1 '1'>, <Cell B1 '11'>, <Cell C1 '111'>], [<Cell A2 '2'>, <Cell B2 '22'>, <Cell C2 '222'>], [<Cell A3 '3'>, <Cell B3 '33'>, <Cell C3 '333'>], [<Cell A4 '4'>, <Cell B4 '44'>, <Cell C4 '444'>], [<Cell A5 '5'>, <Cell B5 '55'>, <Cell C5 '555'>], [<Cell A6 ''>, <Cell B6 ''>, <Cell C6 ''>], [<Cell A7 ''>, <Cell B7 ''>, <Cell C7 ''>], [<Cell A8 ''>, <Cell B8 ''>, <Cell C8 ''>], [<Cell A9 ''>, <Cell B9 ''>, <Cell C9 ''>], [<Cell A10 ''>, <Cell B10 ''>, <Cell C10 ''>]]
[[<Cell A1 '1'>, <Cell B1 '11'>, <Cell C1 '111'>], [<Cell A2 '2'>, <Cell B2 '22'>, <Cell C2 '222'>], [<Cell A3 '3'>, <Cell B3 '33'>, <Cell C3 '333'>], [<Cell A4 '4'>, <Cell B4 '44'>, <Cell C4 '444'>], [<Cell A5 '5'>, <Cell B5 '55'>, <Cell C5 '555'>], [<Cell A6 ''>, <Cell B6 ''>, <Cell C6 ''>], [<Cell A7 ''>, <Cell B7 ''>, <Cell C7 ''>], [<Cell A8 ''>, <Cell B8 ''>, <Cell C8 ''>], [<Cell A9 ''>, <Cell B9 ''>, <Cell C9 ''>], [<Cell A10 ''>, <Cell B10 ''>, <Cell C10 ''>]]
********************
[[<Cell A1 '1'>, <Cell B1 '11'>, <Cell C1 '111'>], [<Cell A2 '2'>, <Cell B2 '22'>, <Cell C2 '222'>], [<Cell A3 '3'>, <Cell B3 '33'>, <Cell C3 '333'>], [<Cell A4 '4'>, <Cell B4 '44'>, <Cell C4 '444'>], [<Cell A5 '5'>, <Cell B5 '55'>, <Cell C5 '555'>]]
[[<Cell A2 '2'>, <Cell B2 '22'>, <Cell C2 '222'>], [<Cell A3 '3'>, <Cell B3 '33'>, <Cell C3 '333'>], [<Cell A4 '4'>, <Cell B4 '44'>, <Cell C4 '444'>], [<Cell A5 '5'>, <Cell B5 '55'>, <Cell C5 '555'>]]

ws.range('A2:C') - still returns from the first line, unless a lower bound is specified on the right side

2023-06-19_13-42

from pygsheets.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.