DECODE DSA WITH PYTHON JAVA C++ SKILLS
2.89K subscribers
63 photos
3 videos
30 files
30 links
Disclaimer: This Channel is for educational purpose only , no one takes responsibility if you do anything wrong
๐™ƒ๐™–๐™˜๐™  ๐™๐™๐™š ๐™๐™ž๐™˜๐™๐Ÿ’ฒ= ๐™๐™š๐™š๐™™ ๐™๐™๐™š ๐™‹๐™ค๐™ค๐™ง๐Ÿ™Œ


FOUNDER:- @TeamVoiceContactBot
Download Telegram
Practical interview question for an entry-level data analyst role in #Power_BI: along with answers !

Question: Data Modeling Case: You have sales data and customer data in separate tables. How would you model this data in Power BI to analyze customer purchase behavior?

๐Ÿ‘‰ Load the Data: Import the sales data and customer data tables into Power BI.

๐Ÿ‘‰ Establish Relationships: Identify the CustomerID as the common key between the two tables. In the "Model" view, create a relationship by connecting the CustomerID column from the Sales Data table to the CustomerID column in the Customer Data table.

๐Ÿ‘‰ Data Structure:

Sales Data Table: Contains columns like SaleID, CustomerID, ProductID, SaleDate, and Amount.

Customer Data Table: Contains columns like CustomerID, CustomerName, Age, Gender, and Location.

๐Ÿ‘‰ Create Visualizations:

Total Sales by Customer: A bar chart showing the total amount spent by each customer.

Sales Over Time: A line chart displaying sales trends over time for each customer.

Customer Demographics: Pie charts or bar charts illustrating sales distribution by customer age, gender, and location.

๐Ÿ‘‰ Utilize DAX for Advanced Analysis: Create measures using DAX (Data Analysis Expressions) to calculate total sales and sales by specific customer attributes for deeper insights.

By following these steps, you can effectively model your data in Power BI to gain meaningful insights into customer purchase behavior.
In Tableau, Level of Detail (LOD) expressions allow you to control the granularity of aggregations. Power BI has similar functionalities through the use of DAX (Data Analysis Expressions). While Power BI doesn't have direct LOD expressions, you can achieve the same results using DAX functions. Here are some common scenarios and their DAX equivalents:

1. Fixed LOD Expressions:
In Tableau, a fixed LOD expression computes values at a specific granularity, independent of the visualization's granularity.

Tableau:

   { FIXED [Dimension1], [Dimension2]: SUM([Measure]) }

Power BI (DAX):

   CALCULATE(SUM('Table'[Measure]), ALLEXCEPT('Table', 'Table'[Dimension1], 'Table'[Dimension2]))

2. Include LOD Expressions:
An include LOD expression adds a specific dimension to the granularity of the existing view.

Tableau:

   { INCLUDE [Dimension]: SUM([Measure]) }

Power BI (DAX):

   CALCULATE(SUM('Table'[Measure]), ALL('Table'[Dimension]))

3. Exclude LOD Expressions:
An exclude LOD expression removes a specific dimension from the granularity of the existing view.

Tableau:

   { EXCLUDE [Dimension]: SUM([Measure]) }

Power BI (DAX):

   CALCULATE(SUM('Table'[Measure]), REMOVEFILTERS('Table'[Dimension]))

4. Row-level Calculations:
To perform calculations at the row level and then aggregate the result, you can use the SUMX function in DAX.

Tableau:

   SUM([Measure1] + [Measure2])

Power BI (DAX):

   SUMX('Table', 'Table'[Measure1] + 'Table'[Measure2])

These DAX functions allow you to achieve similar results as Tableau's LOD expressions by giving you control over the context and granularity of calculations.
๐Ÿ‘4๐Ÿ˜1
๐Ÿ“ข Important Update โฃ๏ธ

โšก There Are Some Reports Circulating About the Telegram CEO's Arrest
โšก Always Good To Have A Backup So ๐Ÿ‘‡

My YOUTUBE HANDLE-
https://youtu.be/BSAh7nCzYyQ?si=ENogZEVFY_XawsNK
https://youtu.be/BSAh7nCzYyQ?si=ENogZEVFY_XawsNK

Follow karke rakho..Future me kuch bhi help chaye to Ya dosti hi rakhni ho to !!

Note : Koi telegram ban nahi ho raha hai fake news se savdhan rahe ๐Ÿ‘
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿ‘1
Frontend: HTML, CSS, JavaScript, React

Backend: Python, Node.Js, Ruby, Java, API

Database: Mysql, MongoDB, Oracle, PostgreSQL

Cloud: AWS, Azure, Google Cloud, Digital Ocean

UI/UX: Figma, Adobe XD, Visual Studio, Git
๐Ÿ‘3
*You can learn ReactJS easily ๐Ÿคฉ*

Here's all you need to get started ๐Ÿ™Œ

1.Components
โ€ข Functional Components
โ€ข Class Components
โ€ข JSX (JavaScript XML) Syntax

2.Props (Properties)
โ€ข Passing Props
โ€ข Default Props
โ€ข Prop Types

3.State
โ€ข useState Hook
โ€ข Class Component State
โ€ข Immutable State

4.Lifecycle Methods (Class Components)
โ€ข componentDidMount
โ€ข componentDidUpdate
โ€ข componentWillUnmount

5.Hooks (Functional Components)
โ€ข useState
โ€ข useEffect
โ€ข useContext
โ€ข useReducer
โ€ข useCallback
โ€ข useMemo
โ€ข useRef
โ€ข useImperativeHandle
โ€ข useLayoutEffect

6.Event Handling
โ€ข Handling Events in Functional Components
โ€ข Handling Events in Class Components

7.Conditional Rendering
โ€ข if Statements
โ€ข Ternary Operators
โ€ข Logical && Operator

8.Lists and Keys
โ€ข Rendering Lists
โ€ข Keys in React Lists

9.Component Composition
โ€ข Reusing Components
โ€ข Children Props
โ€ข Composition vs Inheritance

10.Higher-Order Components (HOC)
โ€ข Creating HOCs
โ€ข Using HOCs for Reusability

11.Render Props
โ€ข Using Render Props Pattern

12.React Router
โ€ข <BrowserRouter>
โ€ข <Route>
โ€ข <Link>
โ€ข <Switch>
โ€ข Route Parameters

13.Navigation
โ€ข useHistory Hook
โ€ข useLocation Hook

State Management

14.Context API
โ€ข Creating Context
โ€ข useContext Hook

15.Redux
โ€ข Actions
โ€ข Reducers
โ€ข Store
โ€ข connect Function (React-Redux)

16.Forms
โ€ข Handling Form Data
โ€ข Controlled Components
โ€ข Uncontrolled Components

17.Side Effects
โ€ข useEffect for Data Fetching
โ€ข useEffect Cleanup

18.AJAX Requests
โ€ข Fetch API
โ€ข Axios Library

Error Handling

19.Error Boundaries
โ€ข componentDidCatch (Class Components)
โ€ข ErrorBoundary Component (Functional
Components)

20.Testing
โ€ข Jest Testing Framework
โ€ข React Testing Library

21. Best Practices
โ€ข Code Splitting
โ€ข PureComponent and React.memo
โ€ข Avoiding Reconciliation
โ€ข Keys for Dynamic Lists

22.Optimization
โ€ข Memoization
โ€ข Profiling and Performance Monitoring

23. Build and Deployment
โ€ข Create React App (CRA)
โ€ข Production Builds
โ€ข Deployment Strategies

Frameworks and Libraries

24.Styling Libraries
โ€ข Styled-components
โ€ข CSS Modules

25.State Management Libraries
โ€ข Redux
โ€ข MobX

26.Routing Libraries
โ€ข React Router
โ€ข Reach Router
๐Ÿ‘2โค1
Basic web development roadmap
๐ŸŸง
1.Learn: How websites work, front-end vs back-end, code editorโ€Œโ€Œ
๐ŸŸง
2: Basic front-end:
a. Html
b. Css
c. Javascript
Expected time 7+14+30=51 days.
๐ŸŸง
3. Learn front-end frameworks:
a. Learn css framework ( Bootstrap , Tailwind css , ...)
b. Learn JavaScript frameworks ( angular, react , vue...)

Expected time minimum 60 days.
๐ŸŸง
4. Learn database
a. MySQL
b. MongoDB
There are many more. Choose one and learn.
๐ŸŸง
5. Learn backend programming languages:
a. Php
b. Nodejs
There are many more. Learn any one.

Expected time: 60 days
๐ŸŸง
6. Do some projects and clone some websites.
โ–ซ๏ธโ–ซ๏ธ๐ŸŸงโ–ซ๏ธโ–ซ๏ธ
๐Ÿ‘3
Here's a short roadmap to crack an IT job with a non-CS background ๐Ÿš€

1. ๐Ÿ“š Learn basics of CS and programming.
2. ๐ŸŽฏ Choose a specialization (e.g., web dev, data analysis).
3. ๐Ÿ† Complete online courses and certifications.
4. ๐Ÿ› ๏ธ Build a portfolio of projects.
5. ๐Ÿค Network with professionals.
6. ๐Ÿ’ผ Seek internships for experience.
7. ๐Ÿ“š Keep learning and stay updated.
8. ๐Ÿง  Develop soft skills.
9. ๐Ÿ“ Prepare for interviews.
10. ๐Ÿ’ช Stay persistent and positive! Good luck!
๐Ÿ‘3โค1
๐—š๐—ถ๐˜ ๐˜ƒ๐˜€ ๐—š๐—ถ๐˜๐—›๐˜‚๐—ฏ: What's the Difference?

Ever mixed up Git and GitHub? Youโ€™re not aloneโ€”theyโ€™re related but serve distinct purposes!

๐†๐ข๐ญ: A powerful version control system that tracks changes in your code. Itโ€™s your local toolkit for managing versions, rolling back changes, and collaborating.

๐†๐ข๐ญ๐‡๐ฎ๐›: A cloud-based platform that hosts Git repositories online. It enhances collaboration by letting you share, review, and manage codeโ€”think of it as a social network for developers.

In short:
Git = Local version control tool
GitHub = Cloud-based hosting service for Git repositories

Understanding the difference can significantly improve your workflow and collaboration in software development!
๐Ÿ‘1
What Is MERN?

MERN Stack is a Javascript Stack that is used for easier and faster deployment of full-stack web applications. MERN Stack comprises of 4 technologies namely: MongoDB, Express, React and Node.js. It is designed to make the development process smoother and easier.

MongoDB

MongoDb is a NoSQL DBMS where data is stored in the form of documents having key-value pairs similar to JSON objects. MongoDB enables users to create databases, schemas and tables.

ExpressJS

ExpressJS is a NodeJS framework that simplifies writing the backend code. It saves you from creating multiple Node modules.



ReactJS

ReactJS is a JS library that allows the development of user interfaces for mobile apps and SPAs. It allows you to code Javascript and develop UI components.

NodeJS

NodeJS is an open-source Javascript runtime environment that allows users to run code on the server.
๐Ÿ‘3
ยฉHow fresher can get a job as a data scientist?ยฉ

Job market is highly resistant to hire data scientist as a fresher. Everyone out there asks for at least 2 years of experience, but then the question is where will we get the two years experience from?

The important thing here to build a portfolio. As you are a fresher I would assume you had learnt data science through online courses. They only teach you the basics, the analytical skills required to clean the data and apply machine learning algorithms to them comes only from practice.

Do some real-world data science projects, participate in Kaggle competition. kaggle provides data sets for practice as well. Whatever projects you do, create a GitHub repository for it. Place all your projects there so when a recruiter is looking at your profile they know you have hands-on practice and do know the basics. This will take you a long way.

All the major data science jobs for freshers will only be available through off-campus interviews.

Some companies that hires data scientists are:
Siemens
Accenture
IBM
Cerner

Creating a technical portfolio will showcase the knowledge you have already gained and that is essential while you got out there as a fresher and try to find a data scientist job.
๐Ÿ‘3โค1
Some useful PYTHON libraries for data science

NumPy stands for Numerical Python. The most powerful feature of NumPy is n-dimensional array. This library also contains basic linear algebra functions, Fourier transforms,  advanced random number capabilities and tools for integration with other low level languages like Fortran, C and C++

SciPy stands for Scientific Python. SciPy is built on NumPy. It is one of the most useful library for variety of high level science and engineering modules like discrete Fourier transform, Linear Algebra, Optimization and Sparse matrices.

Matplotlib for plotting vast variety of graphs, starting from histograms to line plots to heat plots.. You can use Pylab feature in ipython notebook (ipython notebook โ€“pylab = inline) to use these plotting features inline. If you ignore the inline option, then pylab converts ipython environment to an environment, very similar to Matlab. You can also use Latex commands to add math to your plot.

Pandas for structured data operations and manipulations. It is extensively used for data munging and preparation. Pandas were added relatively recently to Python and have been instrumental in boosting Pythonโ€™s usage in data scientist community.

Scikit Learn for machine learning. Built on NumPy, SciPy and matplotlib, this library contains a lot of efficient tools for machine learning and statistical modeling including classification, regression, clustering and dimensionality reduction.

Statsmodels for statistical modeling. Statsmodels is a Python module that allows users to explore data, estimate statistical models, and perform statistical tests. An extensive list of descriptive statistics, statistical tests, plotting functions, and result statistics are available for different types of data and each estimator.

Seaborn for statistical data visualization. Seaborn is a library for making attractive and informative statistical graphics in Python. It is based on matplotlib. Seaborn aims to make visualization a central part of exploring and understanding data.

Bokeh for creating interactive plots, dashboards and data applications on modern web-browsers. It empowers the user to generate elegant and concise graphics in the style of D3.js. Moreover, it has the capability of high-performance interactivity over very large or streaming datasets.

Blaze for extending the capability of Numpy and Pandas to distributed and streaming datasets. It can be used to access data from a multitude of sources including Bcolz, MongoDB, SQLAlchemy, Apache Spark, PyTables, etc. Together with Bokeh, Blaze can act as a very powerful tool for creating effective visualizations and dashboards on huge chunks of data.

Scrapy for web crawling. It is a very useful framework for getting specific patterns of data. It has the capability to start at a website home url and then dig through web-pages within the website to gather information.

SymPy for symbolic computation. It has wide-ranging capabilities from basic symbolic arithmetic to calculus, algebra, discrete mathematics and quantum physics. Another useful feature is the capability of formatting the result of the computations as LaTeX code.

Requests for accessing the web. It works similar to the the standard python library urllib2 but is much easier to code. You will find subtle differences with urllib2 but for beginners, Requests might be more convenient.

Additional libraries, you might need:

os for Operating system and file operations

networkx and igraph for graph based data manipulations

regular expressions for finding patterns in text data

BeautifulSoup for scrapping web. It is inferior to Scrapy as it will extract information from just a single webpage in a run.
๐Ÿ‘6โค1
How Git Works - From Working Directory to Remote Repository

[1]. Working Directory:
Your project starts here. The working directory is where you actively make changes to your files.
[2]. Staging Area (Index):
After modifying files, use git add to stage changes. This prepares them for the next commit, acting as a checkpoint.
[3]. Local Repository:
Upon staging, execute git commit to record changes in the local repository. Commits create snapshots of your project at specific points.
[4]. Stash (Optional):
If needed, use git stash to temporarily save changes without committing. Useful when switching branches or performing other tasks.
[5]. Remote Repository:
The remote repository, hosted on platforms like GitHub, is a version of your project accessible to others. Use git push to send local commits and git pull to fetch remote changes.
[6]. Remote Branch Tracking:
Local branches can be set to track corresponding branches on the remote. This eases synchronization with git pull or git push.