Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8368723
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T13:27:11+00:00 2026-06-09T13:27:11+00:00

I am creating list for each data items, I have following data structure and

  • 0

I am creating list for each data items, I have following data structure and at the end of iteration have have 6 lists that contains data points. Each list has same length, I want to generate each list as a column of csv file

Example:

columnOfList1, columnOfList2...

this is my code that generate multiple list of data: what I can’t figureout is to generate csv file.

for (fn1, lst1), (fn2, lst2) in product(dict1.iteritems(), dict2.iteritems()):
    for vector1, vector2 in zip(lst1, lst2):
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T13:27:13+00:00Added an answer on June 9, 2026 at 1:27 pm

    As you told, each list have the same length. Why do you don’t do a “for” with this length?

    Example:

    for i in range(len(some_list)):
        print lst[i], lst2[i], lst3[i], lst4[i], lst5[i]
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an ARM project that I'm building with make. I'm creating the list
I am creating a calendar list system, that has tabbed dates on top, with
I'm creating a linq query to get some data that will return a list
I have a file containing vectors of data, where each row contains a comma-separated
I have some data that I have stored in a list and if I
I have an object that has a few different List properties that contain child
In my code I am creating a List<> of the following class: public class
What is the best construction for creating a List of Strings? Is it Lists.newArrayList()
I'm having troubles with creating a simple list (some expandable lists are already working).
There is a requirement to have not-so-trivial dynamic list, each record of which consists

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.