Comments (3)
I am unable to reproduce this. Does your sheet have some special characteristics? or is it a normal new sheet?
from pygsheets.
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.
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
from pygsheets.
Related Issues (20)
- client.py, line 124, attempt to take index on dict HOT 1
- Error on adding a row to the table
- Naming unbounded ranges
- unlink simply doesn't work for shared drive sheets HOT 2
- How to set hyperlink? HOT 1
- Remove formatting of appended row in 'append_table'? HOT 3
- Error when appending 'This range already has a worksheet with different title set' HOT 4
- DataRange.apply_format() does not work for Date Format HOT 1
- Is there a function to GET the last used row & column in the wks? HOT 2
- Feature request: different types of charts except "basicChart" HOT 1
- Excessive delay and 429 errors when using pygsheets HOT 3
- How to create multiple link in a single row
- `google.oauth2` both Deprecated and Decommissioned HOT 2
- OAuth Out-Of-Band (OOB) migration for production app HOT 2
- AttributeError: 'Worksheet' object has no attribute 'get_all_values'
- `set_dataframe` function reached cell limit
- Expose orderBy as a parameter when listing documents
- apply_format range error
- Sample for custom_formula
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pygsheets.