Facing problem in removing outliers of excel file in R studio - excel

I have a excel sheet with 6 columns contianing 45 data points each column.
I have imported this file in R studio to remove the extreme values but, I am unable to do as what code to write for the outliers after importing the file.
Please guide me...thanks!
I tried some codes from youtube:
I didn't understand the data$Apperance".......how to write my filename in such format?
What I think I am inable to read the columns in R studio... how to do that?
What is the next step after this?

Related

Epplus generated charts missing in Numbers

I've found out a compatibility issue, trying to save .xlsx file with Epplus.Core library.
If I open generated file in Excel 2016, everything is perfect, but if I use macOs or iOs Numbers application, then all the charts dissapear.
I get an error:
"Charts of unsupported type or size were either imported as an image or removed".
Also want to notice, that during tests sometimes charts appeared in file, but axis had wrong scale (values were about 4kk, but axis max limit was just 4).
It's very important for me to create file, that could be read correctly in both Excel and Numbers applications.
I've thought about exporting worksheet to .pdf, but I have several worksheets, and it would be problem to export two files (one .xlsx with data and another one .pdf with charts) in one moment.
Is there any other solution for this issue?
Finally the problem was in naming of worksheet with chart's datatable.
It should be no spaces in worksheet name, then Apple Numbers successfully display all the charts.
Also chart with type = eChartType.BarClustered can become a problem.
I don't know why, but Apple Numbers throw an error, if there is chart with this type on worksheet.

Importing Flat file gives problems because user used "Wrap Text" in Excel

I am working in Visual Studio 2017 and doing a SSIS package.
I am importing a flat file (csv) which is seperated by ";". The file is exported from excel.
When I import this file in Visual Studio I got problems because some cells is empty and have been "push". I tracked it down in the .csv file to find it is because it is like (example is x 2):
a 1;b 1;c 1;d 1;e 1;f 1;g 1
a 2;b 2;c
2;d 2;e
2;f 2;g 2
a 3;b 3;c 3;d 3;e 3;f 3;g 3
a 4;b 4;c 4;d 4;e 4;f 4;g 4
Opening the .csv file in excel (in which it has been written) I found that the problem arises when the user has used "Wrap Text" command in excel. Hence all the cells where the user has used "Wrap Text", gives the above problem in the .csv file.
Hence summing up I got and excel from a user, who is using "Wrap Text" in some cells. This gives a strange .csv file when exporting, and gives blank cells in Visual Studio when importing a flat file to a SSIS package.
I have tried to manually change this in the .csv file all the places where the error occurs, and after this the implementing works perfectly. However this is not a solution since I am receiving the .csv file from user, and I am not able to tell him to change this.
Manually I corrected it to:
a 1;b 1;c 1;d 1;e 1;f 1;g 1
a 2;b 2;c 2;d 2;e 2;f 2;g 2
a 3;b 3;c 3;d 3;e 3;f 3;g 3
a 4;b 4;c 4;d 4;e 4;f 4;g 4
Question: Is it possible in Visual Studio doing a SSIS package to import a flat file source where the data is "messy" like this?
Thanks,
ss

Editing an existing excel in C# with NPOI

I need some help to solve an issue I'm facing using NPOI 2.3
I've created an excel with 1 jpeg picture and some shapes (just to group the fields)
In some cell I've put a value that starts with ##
I need to open the excel, replace cell containing ## with correct values coming from db and save the result.
All works well except when I try to reopen the modified xslx file I got an error about Drawing shape corrupted. The values are ok but all shapes and the picture are removed.
Here you can find the link TemplateFile
Can someone helps me to identify the problem ?
Many thanks
Fab

VIsual studio : tool for exporting excel data to resource file

I want to export excel data of multiple languages to resource files in Visual studio and i do not want to copy paste each single row (key and value) to resource file as i have data for about 7 web pages with each page containing 20 rows.
I have worked on exporting .resx to .xlsx earlier using a very good tool : http://www.zeta-resource-editor.com/index.html but it does not work otherwise (.resx to .xlsx)
One major challenge i am facing is: the number of rows in excel are less than the number of key-values in .resx i.e i do not have the whole content translated in excel
I have tried microsoft's in-built tool (https://msdn.microsoft.com/en-us/library/bbwz4bhx(v=vs.90).aspx) but it imports excel as excel/csv itself and not as .resx
Also giving a try to http://resxresourcemanager.codeplex.com/
which is throwing error : could not find a matching file in Solution..
Any suggestions for tried and tested tool will be highly appreciated :)
http://resxresourcemanager.codeplex.com/ could help but it always throws errors saying sheet and solution's resx file names does not match, even if you create a rex file on root and provide same name to excel sheet.
So i opted for manual copy-paste.. was not much time consuming :)

My excel sheet read two times

I have created package by below link
How to loop through Excel files and load them into a database using SSIS package?
Package work well but excel read two times and insert data in to table two time.
Please help me
Thanks,
Ramesh Rathod
the example has 2 loops, one i looping excel files and the second each sheet on the file. Are you sure you didn't set the same loop twice? Set up logging on your package, it may help you troubleshoot the problem

Resources