Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

Import values without headers #33

Open
hsyn opened this issue Dec 21, 2015 · 3 comments
Open

Import values without headers #33

hsyn opened this issue Dec 21, 2015 · 3 comments

Comments

@hsyn
Copy link

hsyn commented Dec 21, 2015

Is there any way to import this kind of data?
So no headers present, but comma separated phone numbers for example.

07012345678, 071234567, 00467012345680,
@gnapse
Copy link
Contributor

gnapse commented Dec 21, 2015

Could you be more specific? Is this a single excel column where you include a string of comma-separated values? Or do you mean several columns without header?

If it's the former, then why not giving the column a header title anyway? Then internally process the comma-separated string in whatever way is needed.

If it's the latter case, then how do you propose the imported code can reference these columns that have no title. Right now the column title is the way the importer can reference a column value in the current row.

Looking forward to your comments on this. Thanks for your interest in the project.

@hsyn
Copy link
Author

hsyn commented Dec 21, 2015

Hey,
Thanks for the quick reply.

I was mostly wondering if it is possible to import a csv file that contains only numbers that are comma separated.

This is one of the use cases we will be getting from customers. They will just send us all the phone numbers without any headers since it is only one attribute. Something like the example i showed you above.

phone_number, phone_number, phone_number, ...

I can see from the code that it is not yet possible, I just wondered if you plan on implementing this.

Thanks for the library btw!

@gnapse
Copy link
Contributor

gnapse commented Dec 21, 2015

Would be nice to have a sample excel/csv file of how this would come. Is it various rows as well? In that case how do you match each row to a record?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants