- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Vani Nalliappan has Published 130 Articles
Vani Nalliappan
750 Views
Assume, you have a dataframe and the result for export dataframe to multiple sheets as, To solve this, we will follow the steps given below −Solutionimport xlsxwriter module to use excel conversionDefine a dataframe and assign to dfApply pd.ExcelWriter function inside name excel name you want to create and set ... Read More
Vani Nalliappan
116 Views
Assume you have a series and the result for separating alphabets and digits and store it in dataframe as, series is: 0 abx123 1 bcd25 2 cxy30 dtype: object Dataframe is 0 1 0 abx 123 1 bcd 25 2 cxy 30To solve this, we ... Read More
Vani Nalliappan
204 Views
Assume you have a series and the result for filtering armstrong numbers, original series is 0 153 1 323 2 371 3 420 4 500 dtype: int64 Armstrong numbers are:- 0 153 2 371 dtype: int64To solve this, we will follow the steps ... Read More
Vani Nalliappan
173 Views
Assume, you have a dataframe and the result for shuffling all the data in a series, The original series is 0 1 1 2 2 3 3 4 4 5 dtype: int64 The shuffled series is : 0 2 1 1 2 ... Read More
Vani Nalliappan
71 Views
Assume, you have a dataframe, the result for converting float to int as, Before conversion Name object Age int64 Maths int64 Science int64 English int64 Result float64 dtype: object After conversion Name object Age int64 ... Read More
Vani Nalliappan
522 Views
Assume you have dataframe and the result for swapping last two rows, Before swapping Name Age Maths Science English 0 David 13 98 75 79 1 Adam 12 59 96 45 2 Bob 12 66 ... Read More
Vani Nalliappan
124 Views
Assume, you have a dataframe, one two three 0 1 2 3 1 4 5 6And the result for removing single column is, two three 0 2 3 1 5 6The result for removing after more than one column is, three 0 3 1 ... Read More
Vani Nalliappan
204 Views
Assume, you have the following series, Series is: 0 1 1 22 2 3 3 4 4 22 5 5 6 22And the result for the most repeated element is, Repeated element is: 22SolutionTo solve this, we will follow the below approach, Define ... Read More
Vani Nalliappan
521 Views
Assume, you have a dataframe, DataFrame is: id mark age 0 1 70 12 1 2 60 13 2 3 40 12 3 4 50 13 4 5 80 12 5 6 90 13 6 7 60 12And, the result for selecting any ... Read More
Vani Nalliappan
175 Views
Assume, you have two dataframe, first dataframe is id country 0 1 India 1 2 UK 2 3 US 3 4 China second dataframe is id City 0 1 Chennai 1 11 Cambridge 2 22 Chicago 3 4 ChengduAnd the result for merging based on same column is, ... Read More
To Continue Learning Please Login
Login with Google