Principles of Use and Disclosure in Information Security

Ginni
Updated on 09-Mar-2022 07:18:23

351 Views

Use and reveal personal information simply for the primary goals for which it was composed or a related reason the person would sensible expect. It can use for some specific secondary purposes without approval is allowed.This principle positions limits on the need of personal data for secondary reasons. Simply, use for an unconnected secondary goals or one that the person cannot expect should only appear with the person’s approval or if a powerful public interest needs it. This principle includes the following which are as follows −An agency should not use or disclose personal information about an individual for a ... Read More

Upsample a Time Series Using asfreq Method

Gireesha Devara
Updated on 09-Mar-2022 07:17:50

344 Views

By using the pandas asfreq() method we can upsample a time series and also we can able to fill the Nan values using the fill_value parameter.The pandas.Series.asfreq() method is used to convert the Time Series to the specified frequency. As a result, It will return a reindexed time series with a specified frequency.Let's create a timeseries object by using the pandas date_range module and upsample it by using the pandas.series.asfreq() method.Example 1import pandas as pd # creating dates date = pd.date_range("2021-07-01", periods=2, freq="M") # creating pandas Series with date range index s = pd.Series([5, 6], index=date) print(s) ... Read More

Convert Time Series Using the Series.asfreq() Method

Gireesha Devara
Updated on 09-Mar-2022 07:16:06

771 Views

The pandas.Series.asfreq() method is used to convert the Time Series to the specified frequency. By using the parameters of this method we can fill missing(null) values also.It will return a series object with reindexed frequency, which is specified through the asfreq() method. The parameters of the asfreq() method are freq, method=None, how=None, normalize=False, and fill_value=None. Other than freq remaining all parameters have default values.Let's create a timeseries object by using the pandas date_range module and apply the asfreq() method.Example 1import pandas as pd # create the index index = pd.date_range('2021-07-01', periods=10, freq='H') #creating pandas Series with date index ... Read More

Principles of Openness in Information Security

Ginni
Updated on 09-Mar-2022 07:16:05

525 Views

Openness is the technical method includes transparent Internet standards development where someone can participate on a similar basis, and open nonproprietary protocols that anyone can execute. It supports more opportunity for variety of thought. Openness is also the ability to create and set up Internet applications and services without approval.Openness in terms of open standards, data, APIs, processes, open source and open architectures (flexibility, customizability and extensibility element), by displaying security thinking tackled from a three-dimensional point of view (perception, assessment and challenges) that define the need to develop an IoT security mindset.It is the application of open source software ... Read More

Difference Between Freedom of Information and Information Privacy

Ginni
Updated on 09-Mar-2022 07:13:51

488 Views

Freedom of Information − Freedom of Information (FOI) is a concept that broadly define the principle that individuals and the public at-large have the right to access information that is relevant to their interests.The United Nations identifies freedom of information as a basic human right. The UN argues that FOI provides that governments can be held accountable by providing institutional transparency, and as such, it is essential for the maintenance of the Rule of Law inside a jurisdiction.Freedom of information define a citizen's right to access information that is influence by the state. In some countries, this freedom is provided ... Read More

Principles of Access and Correction

Ginni
Updated on 09-Mar-2022 07:12:11

348 Views

Access and correction is generally managed under the provisions of the Information Act. It is important to discriminate freedom of information from information privacy. This principles contains the following which are as follows −If an individual demands an agency having personal information concerning the individual for access to the personal information, the agency should provide the individual with access to the information except to the degree that −It can be providing access would pose a severe threat to the life or health of the person or another person.It can be providing access would prejudice process for the defense of the ... Read More

Leave NaN as NaN in Pandas Series Argsort Method

Gireesha Devara
Updated on 09-Mar-2022 07:10:40

593 Views

In pandas series the argmax() method is used to sort the values of a given series and it will return another series object with the indices that would sort the original series values. If the Series object contains any null values or missing values, then the argsort() method gives -1 to indicate the index of that missing value (Nan value).Unfortunately, the argsort method doesn't have any parameters to skip the Null values. If you want to change the default representation of missing values (-1). Then we need to follow the below described approaches.Example 1import pandas as pd import numpy as ... Read More

Principles of Security Identifier

Ginni
Updated on 09-Mar-2022 07:10:05

395 Views

A unique identifier is generally a number allocated to an individual to recognize the person for the reasons of an agency services. For example, a tax file number, drivers licence number, data set identifier.This principle confine the sharing of unique identifiers among agencies. It provides a safeguard against the creation of an individual identifier that can be used to crossmatch data across agencies. This principle includes the following which are as follows −An agency should not assign unique identifiers to individuals, unless it is important to allow the agency to perform its functions efficiently.An agency should not adopt a unique ... Read More

How Pandas Series Argsort Handles NaN Values

Gireesha Devara
Updated on 09-Mar-2022 07:07:56

316 Views

In pandas series the argmax() method is used to sort the values of a series and it will return a new series object with the indices that would sort the original series values. If the Series object contains any null values or missing values, then the argsort() method gives -1 value as its index.To sort the values of the series object, the argsort method takes the quicksort algorithm as a default one and we can apply any other sorting algorithms like ‘mergesort’, ‘heapsort’, ‘stable’ by using the kind parameter.The argsort method returns a series with values replaced by sorted order ... Read More

Pandas Series argsort Method Explained

Gireesha Devara
Updated on 09-Mar-2022 07:05:27

831 Views

The argsort() is one of the methods of the pandas series constructor, it works similar to the NumPy.ndarray.argsort(). In pandas series, the argmax() method will return a series object with the indices that would sort the original series values.It returns a series with values replaced by sorted order of indices. And it won’t change the original series position index labels, it only replaces the values by order of sorted values positions. The argsort method tells you where that element comes from the original series object.Example 1import pandas as pd # creating series s = pd.Series({'A':123, 'B':458, "C":556, "D": 238}) ... Read More

Advertisements