i have multiple .csv files in a unix directory. every file is having variable names as header.even for empty file also. suppose take 3 files a.csv b.csv c.csv a.csv contains data as name;age,salary; raja;34;4000; ravi;33;5000; kumar;25;3000; b.csv contains data as name;age,salary; ajay;40;4500; and c.csv contains name;age,salary; (only headers) Now i want to import and append all these files in to a single dataset. i tried infile statement with *.csv to import all at a time. but i m not getting correct data. please help me . its urgent. thank you in advance
2 4895i have some csv files in a directory which have sub-directories also. now how can i merge all .csv files in to one with a single header. for example: have some 4 files. 1.csv--------name,age,sal abc,25,4000 2.csv--------name,age,sal vgd,32,3500 3.csv--------name,age,sal hfg,20,5000 4.csv--------name,age,sal asd,15,2000 now my output file should be like 5.csv----------name,age,sal abc,25,4000 vgd,32,3500 hfg,20,5000 asd,15,2000 and please explain the code for me. as i am new to scripting. thank you in advance
1828What is the more accurate formula to convert wet concrete to dry aggregate instead of the 54% method?
2039Post New Tech Mahindra Interview Questions
Why do we use materialized view instead of table or views?
What is pivot query?
Differentiate between django, pyramid, and flask?
Is as operator in c#?
what are the duties of a staff as manpower management?
Can anybody just suggest about the scope of Electrical design with ETAP software?Just guide me?
Tell me how to create a text file in php?
What are the steps to connect External database?
What are the types of shell in linux?
Name the property which is used to specify the source from where the crystal reports would be accessed.
You are a project manager for Laurel's theater productions. Your new project is coming in over budget and requires a cost change through the cost change control system. You know all of the following are true regarding Cost Control except: A. Performance is monitored to detect variances B. Changes are reflected in the cost baseline C. Changes are monitored and reflected in the project scope D. Changes are monitored so that inappropriate changes do not get into the cost baseline
What is the most professional font to use?
How to insert an InterBase BLOb in Delphi using LoadFromFile? 2
Explain tajo configuration files?
For a 1φ voltage controller, feeding a resistive load, draw the waveforms of source voltage, gating signals, output voltage and voltage across the scr. Describe the working with reference to waveforms drawn?