Process large CSV file | forach limit

Process large CSV file | forach limit

Hello there,

given is a CSV file that usually has between 500 and 1000 rows and consists of 31 columns.
I would like to change the file uploaded by a user, a certain value must always be set in one column and only under certain circumstances in another column.

Since there are no built-in functions for editing CSV files, I first tried to simply iterate through each field. This is of course bad in terms of performance, but this CSV processing is only very rarely necessary, so it would be ok. But this approach is not usable, because there is a limit - the number of statement execution seems to be limited to a certain value.

So I tried to iterate over the rows and manipulate the specific row in a different way. But here I also fail, I can't find a valid solution.

What I have tried:
Convert line to a list, change the values via the known index -> doesn't work, because list elements can't be changed.

Does anyone have an idea?

    Access your files securely from anywhere

        Zoho Developer Community




                                  Zoho Desk Resources

                                  • Desk Community Learning Series


                                  • Digest


                                  • Functions


                                  • Meetups


                                  • Kbase


                                  • Resources


                                  • Glossary


                                  • Desk Marketplace


                                  • MVP Corner


                                  • Word of the Day



                                      Zoho Marketing Automation


                                              Manage your brands on social media



                                                    Zoho TeamInbox Resources

                                                      Zoho DataPrep Resources



                                                        Zoho CRM Plus Resources

                                                          Zoho Books Resources


                                                            Zoho Subscriptions Resources

                                                              Zoho Projects Resources


                                                                Zoho Sprints Resources


                                                                  Qntrl Resources


                                                                    Zoho Creator Resources



                                                                        Zoho Campaigns Resources


                                                                          Zoho CRM Resources

                                                                          • CRM Community Learning Series

                                                                            CRM Community Learning Series


                                                                          • Kaizen

                                                                            Kaizen

                                                                          • Functions

                                                                            Functions

                                                                          • Meetups

                                                                            Meetups

                                                                          • Kbase

                                                                            Kbase

                                                                          • Resources

                                                                            Resources

                                                                          • Digest

                                                                            Digest

                                                                          • CRM Marketplace

                                                                            CRM Marketplace

                                                                          • MVP Corner

                                                                            MVP Corner





                                                                              Design. Discuss. Deliver.

                                                                              Create visually engaging stories with Zoho Show.

                                                                              Get Started Now