https://kedro.org/ logo
#questions
Title
# questions
g

Gauthier Pierard

02/21/2024, 5:10 AM
hi, I was wondering how to see the method selected when reading generic datasets. thx for any pointers https://github.com/kedro-org/kedro/issues/3636
d

datajoely

02/21/2024, 9:01 AM
Hi @Gauthier Pierard - I’ll answer on the issue!
🥳 1
Response is up
g

Gauthier Pierard

02/21/2024, 9:16 AM
ok so after copying generic_dataset.py to a locally available path and changing the classpath in the catalog, I should be able to access the actual loader...
d

datajoely

02/21/2024, 9:17 AM
yes it’s a super easy way to confirm how it works
but my current understanding is that it should be functioning correctly? does it not provide you a dataframe?
g

Gauthier Pierard

02/21/2024, 9:19 AM
yes, it is most definitely a read_fwf. But I think your suggestion of having a log info message makes a lot of sense
not always easy perhaps for users to know how their data is actually being read
d

datajoely

02/21/2024, 9:20 AM
it is basically doing behind the scenes (with somethings like read_clipboard blocked)
get_attr(pd, "read_fwf")
so if the string is correct it should work
g

Gauthier Pierard

02/21/2024, 9:20 AM
hmm ok
thanks for your answer !