def __setitem__(self, row_col, datum):
		'''Insert a value into the matrix

		Parameters
		----------
		row_col : tuple
			Row and column indices
		datum : float or int
			Numeric value to insert into the matrix


		>>> mat_fact = CSRMatrixFactory()
		>>> mat_fact[3,1] = 1
		>>> mat_fact[3,1] = 1
		>>> mat_fact.get_csr_matrix().todense()
		matrix([[0, 0],
			[0, 0],
			[0, 0],
			[0, 2]], dtype=int32)


		Returns
		-------
		None
		'''
		row, col = row_col
		self.rows.append(row)
		self.cols.append(col)
		self.data.append(datum)
		if row > self._max_row: self._max_row = row
		if col > self._max_col: self._max_col = col
		if isinstance(datum, float):
			self._dtype = type(datum)
Insert a value into the matrix

		Parameters
		----------
		row_col : tuple
			Row and column indices
		datum : float or int
			Numeric value to insert into the matrix


		>>> mat_fact = CSRMatrixFactory()
		>>> mat_fact[3,1] = 1
		>>> mat_fact[3,1] = 1
		>>> mat_fact.get_csr_matrix().todense()
		matrix([[0, 0],
			[0, 0],
			[0, 0],
			[0, 2]], dtype=int32)


		Returns
		-------
		None
		
scattertext/CSRMatrixTools.py