File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -101,13 +101,13 @@ def parse_with_polars_lazy(
101
101
separator = "\t " ,
102
102
comment_prefix = "#" ,
103
103
null_values = "." ,
104
- dtypes = DEFAULT_COLUMN_DTYPES )
104
+ schema_overrides = DEFAULT_COLUMN_DTYPES )
105
105
try :
106
106
df = polars .read_csv (
107
107
filepath_or_buffer ,
108
108
new_columns = REQUIRED_COLUMNS ,
109
109
** kwargs ).lazy ()
110
- except polars .ShapeError :
110
+ except polars .exceptions . ShapeError :
111
111
raise ParsingError ("Wrong number of columns" )
112
112
113
113
df = df .with_columns ([
Original file line number Diff line number Diff line change @@ -24,4 +24,4 @@ packages = ["gtfparse"]
24
24
25
25
[project .urls ]
26
26
"Homepage" = " https://github.com/openvax/gtfparse"
27
- "Bug Tracker" = " https://github.com/openvax/gtfparse"
27
+ "Bug Tracker" = " https://github.com/openvax/gtfparse"
Original file line number Diff line number Diff line change 1
- polars >= 0.20.2 , < 0.21.0
2
- pyarrow >= 14.0.2 , < 14.1 .0
3
- pandas >= 2.1.0 , < 3.0.0
1
+ polars >= 0.20.2
2
+ pyarrow >= 18.0 .0
3
+ pandas >= 2.1.0
You can’t perform that action at this time.
0 commit comments