Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Activity for sfrowâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Question | — |
Comparing two excel files with Python based on changes I have two tables: Table1: | Name| Description | Amount| | --- | --- | --- | | 123 | Description123 | 123 | | 456 | Description456 | 456| | 789 | Description789 | 666| | 101 | Description777 | 101 | | 133 | Description133 | 133 | Table2: | Name| Description | Amount| | --- ... (more) |
— | over 2 years ago |
Question | — |
Python looping 300 000 rows Based on my last question comes new one. How to loop over 300 000 rows and edit each row string one by one? I have a list of 11-digit numbers stored in one single column in Excel, and I need to separate the digits according to this pattern: `2-2-1-3-3`. I use the code below to loop to test the s... (more) |
— | over 2 years ago |
Answer | — |
A: Separate digits of a number in groups with different sizes I found a way how to fix it after I debug. It was only using the last used row because there was nothing to check that I want to edit only the current row. That's why I decide to use `at` ```Python for index, row in priceListTest.iterrows(): #print(index,row) def getslices(n, sizes, nd... (more) |
— | over 2 years ago |
Question | — |
Separate digits of a number in groups with different sizes I have a list of 11-digit numbers stored in one single column in Excel, and I need to separate the digits according to this pattern: `2-2-1-3-3`. Example: `00002451018` becomes `00 00 2 451 018`. How can I do it in Python? I have tried the following: Python implementation If you notice... (more) |
— | over 2 years ago |